diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-04-06 07:42:05 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-04-14 04:45:16 +0300 |
commit | 3a3978f4fbc2e394c9251b69853b14bbbe64db62 (patch) | |
tree | 856b419fec4aba12c151486c9193718c9da08c36 /core/Updates | |
parent | 3d3180ea55f9fc0da7d16d7e94d4abcae950eb66 (diff) |
ref #7235 Refactored the system check to allow plugins to add diagnostics
Diffstat (limited to 'core/Updates')
-rw-r--r-- | core/Updates/2.13.0-b3.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/core/Updates/2.13.0-b3.php b/core/Updates/2.13.0-b3.php new file mode 100644 index 0000000000..db519eea45 --- /dev/null +++ b/core/Updates/2.13.0-b3.php @@ -0,0 +1,26 @@ +<?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\Config; +use Piwik\Updates; + +class Updates_2_13_0_b3 extends Updates +{ + public function doUpdate() + { + $pluginManager = \Piwik\Plugin\Manager::getInstance(); + + try { + $pluginManager->activatePlugin('Diagnostics'); + } catch(\Exception $e) { + } + } +} |