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-18 06:00:03 +0300
committerdiosmosis <benaka@piwik.pro>2014-11-18 06:00:03 +0300
commitfd47fadf338020265ad9aa2387d4189cb276ec1d (patch)
tree5bb19812c42da8d5579de56405188327083161f7 /plugins/Insights
parent6550ddbc1c47f0c982e0a13d80adb9b43ba7cceb (diff)
Revert to old CalculateEvolutionFilter for backwards compatibility w/ at least Insights.
Diffstat (limited to 'plugins/Insights')
-rw-r--r--plugins/Insights/DataTable/Filter/Insight.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Insights/DataTable/Filter/Insight.php b/plugins/Insights/DataTable/Filter/Insight.php
index 6959509a7d..3c4677a5ee 100644
--- a/plugins/Insights/DataTable/Filter/Insight.php
+++ b/plugins/Insights/DataTable/Filter/Insight.php
@@ -16,7 +16,6 @@ class Insight extends DataTable\Filter\CalculateEvolutionFilter
private $considerNew;
private $considerDisappeared;
private $currentDataTable;
- private $pastDataTable;
public function __construct($table, $currentDataTable, $pastDataTable, $columnToRead,
$considerMovers, $considerNew, $considerDisappeared)
@@ -27,7 +26,6 @@ class Insight extends DataTable\Filter\CalculateEvolutionFilter
$this->considerMovers = $considerMovers;
$this->considerNew = $considerNew;
$this->considerDisappeared = $considerDisappeared;
- $this->pastDataTable = $pastDataTable;
}
public function filter($table)
@@ -64,7 +62,7 @@ class Insight extends DataTable\Filter\CalculateEvolutionFilter
private function addRowIfNewOrMover(DataTable $table, DataTable\Row $row)
{
- $pastRow = $this->evolutionMetric->getPastRowFromCurrent($row);
+ $pastRow = $this->getPastRowFromCurrent($row);
if (!$pastRow && !$this->considerNew) {
return;