diff options
Diffstat (limited to 'core/Plugin/Manager.php')
-rw-r--r-- | core/Plugin/Manager.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/Plugin/Manager.php b/core/Plugin/Manager.php index 846de60086..9cf941a135 100644 --- a/core/Plugin/Manager.php +++ b/core/Plugin/Manager.php @@ -1062,11 +1062,10 @@ class Manager $missingPlugins = array(); $plugins = $this->pluginList->getActivatedPlugins(); + foreach ($plugins as $pluginName) { // if a plugin is listed in the config, but is not loaded, it does not exist in the folder - if (!self::getInstance()->isPluginLoaded($pluginName) - && !$this->isPluginBogus($pluginName) - ) { + if (!$this->isPluginLoaded($pluginName) && !$this->isPluginBogus($pluginName) ) { $missingPlugins[] = $pluginName; } } |