aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/site
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-21 12:16:53 -0500
committerCash Costello <cash.costello@gmail.com>2012-01-21 12:16:53 -0500
commit3874c13a404dafd526d7e34ca660239dc34dd300 (patch)
tree98c9ca49fac6b640ce7b9b3fcfbb22855807af8d /actions/admin/site
parenta2cfbdeb100324090ffe19d58aeb71c2def83ac8 (diff)
downloadelgg-3874c13a404dafd526d7e34ca660239dc34dd300.tar.gz
elgg-3874c13a404dafd526d7e34ca660239dc34dd300.tar.bz2
switched the function names to system cache
Diffstat (limited to 'actions/admin/site')
-rw-r--r--actions/admin/site/flush_cache.php2
-rw-r--r--actions/admin/site/update_advanced.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/actions/admin/site/flush_cache.php b/actions/admin/site/flush_cache.php
index b81f5fc83..ebb8296c7 100644
--- a/actions/admin/site/flush_cache.php
+++ b/actions/admin/site/flush_cache.php
@@ -4,7 +4,7 @@
*/
elgg_invalidate_simplecache();
-elgg_filepath_cache_reset();
+elgg_reset_system_cache();
system_message(elgg_echo('admin:cache:flushed'));
forward(REFERER); \ No newline at end of file
diff --git a/actions/admin/site/update_advanced.php b/actions/admin/site/update_advanced.php
index 12c5542e7..d4796ea7d 100644
--- a/actions/admin/site/update_advanced.php
+++ b/actions/admin/site/update_advanced.php
@@ -26,9 +26,9 @@ if ($site = elgg_get_site_entity()) {
}
if (get_input('viewpath_cache_enabled')) {
- elgg_enable_filepath_cache();
+ elgg_enable_system_cache();
} else {
- elgg_disable_filepath_cache();
+ elgg_disable_system_cache();
}
set_config('default_access', get_input('default_access', ACCESS_PRIVATE), $site->getGUID());