diff options
author | sgiehl <stefan@piwik.org> | 2014-12-13 21:51:08 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2014-12-13 21:51:08 +0300 |
commit | 1e663037cbb52f7f82a1c080518fd71eb15404b6 (patch) | |
tree | 2f45a07b04a0c22239dc5537398d599ea8c824aa /core | |
parent | d1986d1e0018e6b7b30c002711211d21586fca51 (diff) |
activate plugin on update
Diffstat (limited to 'core')
-rw-r--r-- | core/Updates/2.10.0-b7.php | 7 |
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) { + } } } |