From bb0a69ba571744697fd89ffbc97577a734b38d2f Mon Sep 17 00:00:00 2001 From: Paweł Sroka Date: Sat, 30 Mar 2013 19:16:41 +0100 Subject: Fixes #5302 - Automatically registers view to simplecache on elgg_get_simplecache_url call --- engine/lib/cache.php | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/lib/cache.php b/engine/lib/cache.php index 59359124e..3116c1a9b 100644 --- a/engine/lib/cache.php +++ b/engine/lib/cache.php @@ -208,6 +208,7 @@ function elgg_get_simplecache_url($type, $view) { global $CONFIG; $lastcache = (int)$CONFIG->lastcache; $viewtype = elgg_get_viewtype(); + elgg_register_simplecache_view("$type/$view");// see #5302 if (elgg_is_simplecache_enabled()) { $url = elgg_get_site_url() . "cache/$type/$viewtype/$view.$lastcache.$type"; } else { -- cgit v1.2.3