aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/plugins/reorder.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-04-08 16:05:28 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-04-08 16:05:28 +0000
commit75868f14ba9fd4df6925d03bf614405413800f72 (patch)
tree0aa4e57b6fee5eaab9dc84b7c16389ba0c613177 /actions/admin/plugins/reorder.php
parentf4829462077dff01b34343fee26b97500b2e5139 (diff)
downloadelgg-75868f14ba9fd4df6925d03bf614405413800f72.tar.gz
elgg-75868f14ba9fd4df6925d03bf614405413800f72.tar.bz2
Refs #968 & #946: Tidied filepath cache stuff by placing them in function calls.
git-svn-id: https://code.elgg.org/elgg/trunk@3194 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/admin/plugins/reorder.php')
-rw-r--r--actions/admin/plugins/reorder.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/actions/admin/plugins/reorder.php b/actions/admin/plugins/reorder.php
index 0e328f54d..c42f5fda1 100644
--- a/actions/admin/plugins/reorder.php
+++ b/actions/admin/plugins/reorder.php
@@ -47,9 +47,7 @@
register_error(sprintf(elgg_echo('admin:plugins:reorder:no'), $plugin));
elgg_view_regenerate_simplecache();
-
- $cache = elgg_get_filepath_cache();
- $cache->delete('view_paths');
+ elgg_filepath_cache_reset();
forward($_SERVER['HTTP_REFERER']);