diff options
author | Cash Costello <cash.costello@gmail.com> | 2013-03-30 11:21:58 -0700 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2013-03-30 11:21:58 -0700 |
commit | 7f01abbe8ec3dc8e7626639732fd095e264c27c5 (patch) | |
tree | 1bde7b95eeeb7f794363eac63463acca8ed3ba9c /engine | |
parent | e579d5b32ea0f12450520a6d45183018e0851757 (diff) | |
parent | bb0a69ba571744697fd89ffbc97577a734b38d2f (diff) | |
download | elgg-7f01abbe8ec3dc8e7626639732fd095e264c27c5.tar.gz elgg-7f01abbe8ec3dc8e7626639732fd095e264c27c5.tar.bz2 |
Merge pull request #5303 from Srokap/ticket_5302
Fixes #5302 - Automatically registers view to simplecache on elgg_get_simplecache_url call
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/cache.php | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |