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.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index 7968f4a6e..bbec52c2e 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -302,8 +302,8 @@ function elgg_load_plugins() {
}
// Load view caches if available
- $cached_view_paths = elgg_filepath_cache_load('views');
- $cached_view_types = elgg_filepath_cache_load('view_types');
+ $cached_view_paths = elgg_load_system_cache('views');
+ $cached_view_types = elgg_load_system_cache('view_types');
$cached_view_info = is_string($cached_view_paths) && is_string($cached_view_types);
if ($cached_view_info) {
@@ -334,8 +334,8 @@ function elgg_load_plugins() {
// Cache results
if (!$cached_view_info) {
- elgg_filepath_cache_save('views', serialize($CONFIG->views));
- elgg_filepath_cache_save('view_types', serialize($CONFIG->view_types));
+ elgg_save_system_cache('views', serialize($CONFIG->views));
+ elgg_save_system_cache('view_types', serialize($CONFIG->view_types));
}
return $return;