diff options
Diffstat (limited to 'actions/admin/plugins/reorder.php')
-rw-r--r-- | actions/admin/plugins/reorder.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/admin/plugins/reorder.php b/actions/admin/plugins/reorder.php index e3f5c4a0a..165495050 100644 --- a/actions/admin/plugins/reorder.php +++ b/actions/admin/plugins/reorder.php @@ -45,7 +45,9 @@ if (regenerate_plugin_list($plugins)) { register_error(sprintf(elgg_echo('admin:plugins:reorder:no'), $plugin)); } -elgg_view_regenerate_simplecache(); +// don't regenerate the simplecache because the plugin won't be +// loaded until next run. Just invalidate and let it regnerate as needed +elgg_invalidate_simplecache(); elgg_filepath_cache_reset(); forward($_SERVER['HTTP_REFERER']);
\ No newline at end of file |