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:
authordiosmosis <benaka@piwik.pro>2014-11-08 07:01:03 +0300
committerdiosmosis <benaka@piwik.pro>2014-11-08 07:01:03 +0300
commit6bc507763db1f66f26c421c8bb736a312b9871d1 (patch)
tree560c190f75f08d628ad9a8e9cdb1de7c3bff95a0 /plugins/CoreHome/DataTableRowAction/RowEvolution.php
parent4aee52a381121c5fd9e6d8825a1302889603f551 (diff)
Filling out TODO items and refactoring ResponseBuilder + computing/formatting of ProcessedMetrics.
Diffstat (limited to 'plugins/CoreHome/DataTableRowAction/RowEvolution.php')
-rw-r--r--plugins/CoreHome/DataTableRowAction/RowEvolution.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/CoreHome/DataTableRowAction/RowEvolution.php b/plugins/CoreHome/DataTableRowAction/RowEvolution.php
index 6f2db7ab9d..2e2631203a 100644
--- a/plugins/CoreHome/DataTableRowAction/RowEvolution.php
+++ b/plugins/CoreHome/DataTableRowAction/RowEvolution.php
@@ -9,6 +9,7 @@
namespace Piwik\Plugins\CoreHome\DataTableRowAction;
use Exception;
+use Piwik\API\DataTablePostProcessor;
use Piwik\API\Request;
use Piwik\API\ResponseBuilder;
use Piwik\Common;
@@ -85,7 +86,7 @@ class RowEvolution
$this->apiMethod = Common::getRequestVar('apiMethod', '', 'string');
if (empty($this->apiMethod)) throw new Exception("Parameter apiMethod not set.");
- $this->label = ResponseBuilder::getLabelFromRequest($_GET);
+ $this->label = DataTablePostProcessor::getLabelFromRequest($_GET);
if (!is_array($this->label)) {
throw new Exception("Expected label to be an array, got instead: " . $this->label);
}