Skip to content

Commit

Permalink
activate plugin on update
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Dec 13, 2014
1 parent d1986d1 commit 1e66303
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/Updates/2.10.0-b7.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ static function getSql()
static function update()
{
Updater::updateDatabase(__FILE__, self::getSql());

$pluginManager = \Piwik\Plugin\Manager::getInstance();

try {
$pluginManager->activatePlugin('Resolution');
} catch(\Exception $e) {
}
}

}

0 comments on commit 1e66303

Please sign in to comment.