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:
authormattab <matthieu.aubry@gmail.com>2013-05-15 09:22:49 +0400
committermattab <matthieu.aubry@gmail.com>2013-05-15 09:22:49 +0400
commit028acc4e42af442c3600d4ebabed70f1ec8c9dcb (patch)
tree2cd5c73a335c1bbfdcc92c671bf7618d6f7d3d3a
parent9b955d5e2f05b680779057181f355aef85f3676a (diff)
Refs #2135 Enabling plugin by default for all updates
-rw-r--r--config/global.ini.php1
-rw-r--r--core/Updates/1.12-b15.php25
-rw-r--r--core/Version.php2
3 files changed, 27 insertions, 1 deletions
diff --git a/config/global.ini.php b/config/global.ini.php
index 481ac87fcf..32e0cb1fbd 100644
--- a/config/global.ini.php
+++ b/config/global.ini.php
@@ -549,6 +549,7 @@ Plugins[] = DoNotTrack
Plugins[] = Annotations
Plugins[] = MobileMessaging
Plugins[] = Overlay
+Plugins[] = SegmentEditor
[PluginsInstalled]
PluginsInstalled[] = Login
diff --git a/core/Updates/1.12-b15.php b/core/Updates/1.12-b15.php
new file mode 100644
index 0000000000..e746c282f0
--- /dev/null
+++ b/core/Updates/1.12-b15.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * Piwik - Open source web analytics
+ *
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
+ *
+ * @category Piwik
+ * @package Updates
+ */
+
+/**
+ * @package Updates
+ */
+class Piwik_Updates_1_12_b15 extends Piwik_Updates
+{
+ static function update()
+ {
+ try {
+ Piwik_PluginsManager::getInstance()->activatePlugin('SegmentEditor');
+ } catch (Exception $e) {
+ // pass
+ }
+ }
+} \ No newline at end of file
diff --git a/core/Version.php b/core/Version.php
index 0d52af52fb..4a0f1de49d 100644
--- a/core/Version.php
+++ b/core/Version.php
@@ -20,5 +20,5 @@ final class Piwik_Version
* Current Piwik version
* @var string
*/
- const VERSION = '1.12-b14';
+ const VERSION = '1.12-b15';
}