diff options
-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 4a25955f9..cfb27cd8c 100644 --- a/engine/lib/plugins.php +++ b/engine/lib/plugins.php @@ -159,11 +159,11 @@ function elgg_generate_plugin_entities() { foreach ($known_plugins as $plugin) { if ($plugin->isActive()) { $plugin->deactivate(); - // remove the priority. - $name = elgg_namespace_plugin_private_setting('internal', 'priority'); - remove_private_setting($plugin->guid, $name); - $plugin->disable(); } + // remove the priority. + $name = elgg_namespace_plugin_private_setting('internal', 'priority'); + remove_private_setting($plugin->guid, $name); + $plugin->disable(); } access_show_hidden_entities($old_access); |