diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-04-14 08:36:41 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-04-14 08:36:41 +0400 |
commit | ce5abb89334f31d85994e0dda0807e2427e57b78 (patch) | |
tree | b360a13010870a717844ca398f9adef575bdc798 /core/Updates | |
parent | c2d02b1163daae360df1caa59ba074bb253832ba (diff) |
Fix update error: http://builds-artifacts.piwik.org/ui-tests.master/2464.1/processed-ui-screenshots/Updater_updated.png
Diffstat (limited to 'core/Updates')
-rw-r--r-- | core/Updates/2.0.3-b7.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/Updates/2.0.3-b7.php b/core/Updates/2.0.3-b7.php index 7f5b536a66..2e9b593a2a 100644 --- a/core/Updates/2.0.3-b7.php +++ b/core/Updates/2.0.3-b7.php @@ -43,7 +43,11 @@ class Updates_2_0_3_b7 extends Updates // disable & delete old plugins $oldPlugins = array('DoNotTrack', 'AnonymizeIP'); foreach ($oldPlugins as $plugin) { - \Piwik\Plugin\Manager::getInstance()->deactivatePlugin($plugin); + try { + \Piwik\Plugin\Manager::getInstance()->deactivatePlugin($plugin); + } catch(\Exception $e) { + + } $dir = PIWIK_INCLUDE_PATH . "/plugins/$plugin"; |