diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-09-13 15:31:24 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-09-13 15:31:24 +0000 |
commit | b06c6d6f157513e2fc5d6eaa1e6c02d1e1046567 (patch) | |
tree | 2037cc644e26084359f38de7c5f582a88779988c /actions/admin/plugins/simple_update_states.php | |
parent | dd354e7b0f75e59ed3be40dc7d7a3a8262213ccb (diff) | |
download | elgg-b06c6d6f157513e2fc5d6eaa1e6c02d1e1046567.tar.gz elgg-b06c6d6f157513e2fc5d6eaa1e6c02d1e1046567.tar.bz2 |
Refs #2450: Updated docs for core admin actions.
git-svn-id: http://code.elgg.org/elgg/trunk@6929 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/admin/plugins/simple_update_states.php')
-rw-r--r-- | actions/admin/plugins/simple_update_states.php | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/actions/admin/plugins/simple_update_states.php b/actions/admin/plugins/simple_update_states.php index 197f183f9..1945868f2 100644 --- a/actions/admin/plugins/simple_update_states.php +++ b/actions/admin/plugins/simple_update_states.php @@ -1,13 +1,19 @@ <?php /** - * Elgg administration simple plugin bulk enable / disable + * Bulk enable and disable for plugins appearing in the "simple" interface. * - * Shows an alphabetical list of "simple" plugins. + * Plugins marked as using the "simple" interface can be enabled and disabled + * en masse by passing the enabled plugins as an array of their plugin ids + * (directory names) through $_REQUEST['enabled_plugins']. All "simple" plugins + * not in this array will be disabled. * - * @package Elgg - * @subpackage Core - * @author Curverider Ltd - * @link http://elgg.org/ + * Simplecache and views cache are reset. + * + * @uses array $_REQUEST['enabled_plugins'] An array of plugin ids (directory names) to enable. + * + * @since 1.8 + * @package Elgg.Core + * @subpackage Administration.Site */ $installed_plugins = get_installed_plugins(); @@ -38,4 +44,8 @@ if ($success) { register_error(elgg_echo('admins:plugins:simple_simple_fail')); } +// need to reset caches for new view locations and cached view output. +elgg_view_regenerate_simplecache(); +elgg_filepath_cache_reset(); + forward($_SERVER['HTTP_REFERER']);
\ No newline at end of file |