Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2016-10-04 05:06:18 +0300
committermattab <matthieu.aubry@gmail.com>2016-10-04 05:06:18 +0300
commitbc2772af983c88740b78e9b73e7ca269608b27c4 (patch)
tree83def09e8f58cfb66d954883d2ced8fdfceffee0 /core
parentf656aec54870ba1ce690bcd589693dee70be789b (diff)
Config file must be writable during upgrade so that plugins are successfully activated/deactivated
otherwise Piwik can be left in a state where a warning is displayed and it's hard to troubleshoot that config is only mentionned in config file
Diffstat (limited to 'core')
-rw-r--r--core/Updates/3.0.0-b1.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/core/Updates/3.0.0-b1.php b/core/Updates/3.0.0-b1.php
index bb3bf57350..1ac0d4bca8 100644
--- a/core/Updates/3.0.0-b1.php
+++ b/core/Updates/3.0.0-b1.php
@@ -68,11 +68,8 @@ class Updates_3_0_0_b1 extends Updates
ServerFilesGenerator::createHtAccessFiles();
// Renamed plugin ExampleRssWidget -> RssWidget
- try {
- \Piwik\Plugin\Manager::getInstance()->activatePlugin('RssWidget');
- \Piwik\Plugin\Manager::getInstance()->deactivatePlugin('ExampleRssWidget');
- } catch (\Exception $e) {
- }
+ \Piwik\Plugin\Manager::getInstance()->activatePlugin('RssWidget');
+ \Piwik\Plugin\Manager::getInstance()->deactivatePlugin('ExampleRssWidget');
}
private function migratePluginEmailUpdateSetting()