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:
Diffstat (limited to 'plugins/API/API.php')
-rw-r--r--plugins/API/API.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/API/API.php b/plugins/API/API.php
index 0650e67099..d1ea3c6eb8 100644
--- a/plugins/API/API.php
+++ b/plugins/API/API.php
@@ -18,6 +18,7 @@ use Piwik\Common;
use Piwik\Config;
use Piwik\Date;
use Piwik\DataTable;
+use Piwik\Tracker\GoalManager;
use Piwik\Version;
use Piwik\Plugin;
use Piwik\Translate;
@@ -255,10 +256,10 @@ class Piwik_API_API
}
static protected $visitEcommerceStatus = array(
- Piwik_Tracker_GoalManager::TYPE_BUYER_NONE => 'none',
- Piwik_Tracker_GoalManager::TYPE_BUYER_ORDERED => 'ordered',
- Piwik_Tracker_GoalManager::TYPE_BUYER_OPEN_CART => 'abandonedCart',
- Piwik_Tracker_GoalManager::TYPE_BUYER_ORDERED_AND_OPEN_CART => 'orderedThenAbandonedCart',
+ GoalManager::TYPE_BUYER_NONE => 'none',
+ GoalManager::TYPE_BUYER_ORDERED => 'ordered',
+ GoalManager::TYPE_BUYER_OPEN_CART => 'abandonedCart',
+ GoalManager::TYPE_BUYER_ORDERED_AND_OPEN_CART => 'orderedThenAbandonedCart',
);
/**