aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/plugins.php')
-rw-r--r--engine/lib/plugins.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index bbec52c2e..d9c7b321b 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -302,7 +302,7 @@ function elgg_load_plugins() {
}
// Load view caches if available
- $cached_view_paths = elgg_load_system_cache('views');
+ $cached_view_paths = elgg_load_system_cache('view_paths');
$cached_view_types = elgg_load_system_cache('view_types');
$cached_view_info = is_string($cached_view_paths) && is_string($cached_view_types);
@@ -334,7 +334,7 @@ function elgg_load_plugins() {
// Cache results
if (!$cached_view_info) {
- elgg_save_system_cache('views', serialize($CONFIG->views));
+ elgg_save_system_cache('view_paths', serialize($CONFIG->views));
elgg_save_system_cache('view_types', serialize($CONFIG->view_types));
}