diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-04 04:12:01 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-04 04:12:01 +0000 |
commit | 0ce5ae4b1dcbc4567bb1bd27228eface92ab2bde (patch) | |
tree | 0413d157608681ab36431fd823e4498b1b90c676 /engine | |
parent | c239932eea7489090b89e5074531f7b0aa142694 (diff) | |
download | elgg-0ce5ae4b1dcbc4567bb1bd27228eface92ab2bde.tar.gz elgg-0ce5ae4b1dcbc4567bb1bd27228eface92ab2bde.tar.bz2 |
Fixed problem removing plugin entities if physical files were deleted.
git-svn-id: http://code.elgg.org/elgg/trunk@7825 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-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); |