diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-01-13 16:34:39 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-01-13 16:34:39 +0400 |
commit | 92bfb24284576b9960ff4570550cd37638cb60ce (patch) | |
tree | 8e3ae950c7ca35b8b6057c631f945272b4d1f2bd | |
parent | 52aa596a1feed0c3ce13975751c97f04d8acdbf4 (diff) |
Fix warning: The following plugins are not compatible with Piwik 2.0.3 and could not be loaded: DoNotTrack2.0.3
-rw-r--r-- | core/Plugin/Manager.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/Plugin/Manager.php b/core/Plugin/Manager.php index 22c7d0b4d3..c1ff01cec2 100644 --- a/core/Plugin/Manager.php +++ b/core/Plugin/Manager.php @@ -896,7 +896,9 @@ class Manager extends Singleton $plugins = PiwikConfig::getInstance()->Plugins['Plugins']; 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)) { + if (!self::getInstance()->isPluginLoaded($pluginName) + && !$this->isPluginBogus($pluginName) + ) { $missingPlugins[] = $pluginName; } } |