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-07-31 20:46:40 +0400
committermattab <matthieu.aubry@gmail.com>2013-07-31 20:46:40 +0400
commit11752942f0e6526a0d254af2bb2b101491238f29 (patch)
treeb3434b12326b5d84b42312c546c7ec4ee13ab10e /core/DataTable/Filter/ReplaceColumnNames.php
parentd9d4598084aa51d95bf3eab0e961d3c27161cbb8 (diff)
Refs #3741 PHP Namespace conversion continued: Tracker classes,
renaming Unzip to Uncompress, Renaming Tracker/Referer to Tracker/Referrer, and few more
Diffstat (limited to 'core/DataTable/Filter/ReplaceColumnNames.php')
-rw-r--r--core/DataTable/Filter/ReplaceColumnNames.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/DataTable/Filter/ReplaceColumnNames.php b/core/DataTable/Filter/ReplaceColumnNames.php
index abf802b82a..0e1d40fe75 100644
--- a/core/DataTable/Filter/ReplaceColumnNames.php
+++ b/core/DataTable/Filter/ReplaceColumnNames.php
@@ -15,7 +15,7 @@ use Piwik\DataTable\Simple;
use Piwik\Metrics;
use Piwik\Piwik;
use Piwik\DataTable;
-use Piwik_Tracker_GoalManager;
+use Piwik\Tracker\GoalManager;
/**
* This filter replaces column names using a mapping table that maps from the old name to the new name.
@@ -140,9 +140,9 @@ class ReplaceColumnNames extends Filter
$newSubColumns = array();
foreach ($columnValue as $idGoal => $goalValues) {
$mapping = Metrics::$mappingFromIdToNameGoal;
- if ($idGoal == Piwik_Tracker_GoalManager::IDGOAL_CART) {
+ if ($idGoal == GoalManager::IDGOAL_CART) {
$idGoal = Piwik::LABEL_ID_GOAL_IS_ECOMMERCE_CART;
- } elseif ($idGoal == Piwik_Tracker_GoalManager::IDGOAL_ORDER) {
+ } elseif ($idGoal == GoalManager::IDGOAL_ORDER) {
$idGoal = Piwik::LABEL_ID_GOAL_IS_ECOMMERCE_ORDER;
}
foreach ($goalValues as $id => $goalValue) {