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-09-16 05:35:34 +0400
committermattab <matthieu.aubry@gmail.com>2013-09-16 05:35:34 +0400
commita20afb2f9817cefffefe6615aa63545e2006cc9b (patch)
treef1d52126e160b7d3eadfad6668d78b012196f1d3 /plugins/SegmentEditor
parent614d0e82ad80556af00471369e291f32b0ee0af1 (diff)
DbHelper groups logic around Db, tables, etc.
Diffstat (limited to 'plugins/SegmentEditor')
-rw-r--r--plugins/SegmentEditor/Controller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SegmentEditor/Controller.php b/plugins/SegmentEditor/Controller.php
index 2bdbb60ddf..f743692b4a 100644
--- a/plugins/SegmentEditor/Controller.php
+++ b/plugins/SegmentEditor/Controller.php
@@ -14,7 +14,7 @@ use Piwik\Piwik;
use Piwik\Common;
use Piwik\Plugins\SegmentEditor\API;
use Piwik\View;
-use Piwik\Plugins\API\API as MetaAPI;
+use Piwik\Plugins\API\API as APIMetadata;
/**
* @package SegmentEditor
@@ -27,7 +27,7 @@ class Controller extends \Piwik\Controller
$view = new View('@SegmentEditor/getSelector');
$idSite = Common::getRequestVar('idSite');
$this->setGeneralVariablesView($view);
- $segments = MetaAPI::getInstance()->getSegmentsMetadata($idSite);
+ $segments = APIMetadata::getInstance()->getSegmentsMetadata($idSite);
$segmentsByCategory = $customVariablesSegments = array();
foreach ($segments as $segment) {