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
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-09-15 11:29:34 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-09-15 11:29:34 +0400
commit7aa9252ed7df0113cb4232094f4670998b6e9123 (patch)
tree5cdcaa513042b95dbd263ed8c846eed260fd0237
parentb9d67f81f4f2f38ab58c9c037f2d8c76e4454ddb (diff)
refs #4996 added update script b4 to make sure this update will be executed
-rw-r--r--core/Updates/2.7.0-b4.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/core/Updates/2.7.0-b4.php b/core/Updates/2.7.0-b4.php
new file mode 100644
index 0000000000..9ab6ffb263
--- /dev/null
+++ b/core/Updates/2.7.0-b4.php
@@ -0,0 +1,28 @@
+<?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\Updates;
+
+/**
+ */
+class Updates_2_7_0_b4 extends Updates
+{
+ static function update()
+ {
+ $pluginManager = \Piwik\Plugin\Manager::getInstance();
+
+ try {
+ $pluginManager->activatePlugin('Contents');
+ } catch(\Exception $e) {
+ }
+ }
+}
+