diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-06-05 18:27:22 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-06-05 18:27:22 +0300 |
commit | 447ff12b141f1bba9cab78396cb12ff2b98b595c (patch) | |
tree | c07b92730d7ced179a65fd43c46916926b7e4ca8 /core/Plugin/Manager.php | |
parent | 8e4f78eaac98a4650212aa50bb112e55944113b7 (diff) | |
parent | 43e8bae0e51471d204c00b6f5c63e53d49f8cf70 (diff) |
Merge pull request #8016 from piwik/fix/deactivating-plugins
Deactivating a plugin: clear the caches before unloading the plugin
Diffstat (limited to 'core/Plugin/Manager.php')
-rw-r--r-- | core/Plugin/Manager.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Plugin/Manager.php b/core/Plugin/Manager.php index 8790175128..ce491935ef 100644 --- a/core/Plugin/Manager.php +++ b/core/Plugin/Manager.php @@ -337,6 +337,8 @@ class Manager */ public function deactivatePlugin($pluginName) { + $this->clearCache($pluginName); + // execute deactivate() to let the plugin do cleanups $this->executePluginDeactivate($pluginName); @@ -344,8 +346,6 @@ class Manager $this->removePluginFromConfig($pluginName); - $this->clearCache($pluginName); - /** * Event triggered after a plugin has been deactivated. * |