Commit caa956ed authored by grayside's avatar grayside Committed by Spleshka

Issue #2204465 by Grayside: Fatal error in hook_expire_cache() example

parent 8ecd1149
......@@ -42,6 +42,7 @@
* @see
function hook_expire_cache($urls, $wildcards, $object_type, $object) {
module_load_include('inc', 'purge');
foreach ($urls as $url) {
$full_path = url($url, array('absolute' => TRUE));
purge_urls($full_path, $wildcards);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment