diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-01-21 12:16:53 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-01-21 12:16:53 -0500 |
commit | 3874c13a404dafd526d7e34ca660239dc34dd300 (patch) | |
tree | 98c9ca49fac6b640ce7b9b3fcfbb22855807af8d /engine/lib/plugins.php | |
parent | a2cfbdeb100324090ffe19d58aeb71c2def83ac8 (diff) | |
download | elgg-3874c13a404dafd526d7e34ca660239dc34dd300.tar.gz elgg-3874c13a404dafd526d7e34ca660239dc34dd300.tar.bz2 |
switched the function names to system cache
Diffstat (limited to 'engine/lib/plugins.php')
-rw-r--r-- | engine/lib/plugins.php | 8 |
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; |