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-05-28 01:40:10 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-05-28 01:40:10 +0400
commitff9ed4e9af3acd320d7ce47a3a6441e3e812cb01 (patch)
tree9ae5bb538a86479d48f758e37f2e3b55a6189d1e /plugins
parent8ad283ef152e6b125f0685c641e11d45967e472f (diff)
we no longer need the widgetized segment selector since we can run the screenshot tests within an existing page
Diffstat (limited to 'plugins')
-rw-r--r--plugins/SegmentEditor/Controller.php20
-rw-r--r--plugins/SegmentEditor/SegmentEditor.php4
2 files changed, 2 insertions, 22 deletions
diff --git a/plugins/SegmentEditor/Controller.php b/plugins/SegmentEditor/Controller.php
deleted file mode 100644
index 03138ced99..0000000000
--- a/plugins/SegmentEditor/Controller.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-/**
- * Piwik - Open source web analytics
- *
- * @link http://piwik.org
- * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
- *
- */
-namespace Piwik\Plugins\SegmentEditor;
-
-/**
- */
-class Controller extends \Piwik\Plugin\Controller
-{
- public function getSelector()
- {
- $selector = new SegmentSelectorControl();
- return $selector->render();
- }
-}
diff --git a/plugins/SegmentEditor/SegmentEditor.php b/plugins/SegmentEditor/SegmentEditor.php
index cc08f2a952..b723e0fafb 100644
--- a/plugins/SegmentEditor/SegmentEditor.php
+++ b/plugins/SegmentEditor/SegmentEditor.php
@@ -46,8 +46,8 @@ class SegmentEditor extends \Piwik\Plugin
function getSegmentEditorHtml(&$out)
{
- $controller = new Controller();
- $out .= $controller->getSelector();
+ $selector = new SegmentSelectorControl();
+ $out .= $selector->render();
}
public function getKnownSegmentsToArchiveAllSites(&$segments)