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-20 10:47:25 +0400
committermattab <matthieu.aubry@gmail.com>2013-07-20 10:47:25 +0400
commit66536db9562185ba7e98ca3ef3a4349ca92b8c45 (patch)
tree8cd4b1d4561ac7f66f01bfdb70893b6695c2b396 /plugins/CustomVariables/API.php
parente492c76009ea81c9513ae359f5fd41e84703116f (diff)
Converting to namespace: Archive
Diffstat (limited to 'plugins/CustomVariables/API.php')
-rw-r--r--plugins/CustomVariables/API.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/CustomVariables/API.php b/plugins/CustomVariables/API.php
index 338eb6d74a..b5b64f2791 100644
--- a/plugins/CustomVariables/API.php
+++ b/plugins/CustomVariables/API.php
@@ -8,6 +8,7 @@
* @category Piwik_Plugins
* @package Piwik_CustomVariables
*/
+use Piwik\Archive;
/**
* The Custom Variables API lets you access reports for your <a href='http://piwik.org/docs/custom-variables/' target='_blank'>Custom Variables</a> names and values.
@@ -41,7 +42,7 @@ class Piwik_CustomVariables_API
*/
protected function getDataTable($idSite, $period, $date, $segment, $expanded, $idSubtable)
{
- $dataTable = Piwik_Archive::getDataTableFromArchive(Piwik_CustomVariables_Archiver::CUSTOM_VARIABLE_RECORD_NAME, $idSite, $period, $date, $segment, $expanded, $idSubtable);
+ $dataTable = Archive::getDataTableFromArchive(Piwik_CustomVariables_Archiver::CUSTOM_VARIABLE_RECORD_NAME, $idSite, $period, $date, $segment, $expanded, $idSubtable);
$dataTable->filter('Sort', array(Piwik_Metrics::INDEX_NB_ACTIONS, 'desc', $naturalSort = false, $expanded));
$dataTable->queueFilter('ReplaceColumnNames');
$dataTable->queueFilter('ColumnDelete', 'nb_uniq_visitors');