diff options
author | diosmosis <benaka@piwik.pro> | 2015-07-11 05:28:06 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-08-06 17:37:59 +0300 |
commit | 3f0511c41e844069723e309bdef0087b39aa5242 (patch) | |
tree | f370c06fddffcc88059d88ff41c668c5189fd659 /core/Updates | |
parent | ba2a639dca1197a87eab02479e1f7d3ffb511544 (diff) |
Add 2.15.0 update to enable Heartbeat plugin.
Diffstat (limited to 'core/Updates')
-rw-r--r-- | core/Updates/2.15.0.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/core/Updates/2.15.0.php b/core/Updates/2.15.0.php new file mode 100644 index 0000000000..cbe67bd763 --- /dev/null +++ b/core/Updates/2.15.0.php @@ -0,0 +1,25 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + +namespace Piwik\Updates; + +use Piwik\Updater; +use Piwik\Updates; + +class Updates_2_15_0 extends Updates +{ + public function doUpdate(Updater $updater) + { + $pluginManager = \Piwik\Plugin\Manager::getInstance(); + + try { + $pluginManager->activatePlugin('Heartbeat'); + } catch (\Exception $e) { + } + } +}
\ No newline at end of file |