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:
authorsgiehl <stefan@piwik.org>2014-12-13 21:51:08 +0300
committersgiehl <stefan@piwik.org>2014-12-13 21:51:08 +0300
commit1e663037cbb52f7f82a1c080518fd71eb15404b6 (patch)
tree2f45a07b04a0c22239dc5537398d599ea8c824aa /core
parentd1986d1e0018e6b7b30c002711211d21586fca51 (diff)
activate plugin on update
Diffstat (limited to 'core')
-rw-r--r--core/Updates/2.10.0-b7.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/Updates/2.10.0-b7.php b/core/Updates/2.10.0-b7.php
index a44117fc81..21a5e7b1af 100644
--- a/core/Updates/2.10.0-b7.php
+++ b/core/Updates/2.10.0-b7.php
@@ -38,6 +38,13 @@ class Updates_2_10_0_b7 extends Updates
static function update()
{
Updater::updateDatabase(__FILE__, self::getSql());
+
+ $pluginManager = \Piwik\Plugin\Manager::getInstance();
+
+ try {
+ $pluginManager->activatePlugin('Resolution');
+ } catch(\Exception $e) {
+ }
}
}