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:15:11 +0300
committerdiosmosis <benaka@piwik.pro>2014-11-08 07:15:11 +0300
commit97dc9e2897fd5d365926af05078cf4f9941dd01a (patch)
tree5968b89ca0d2b099107bf5e91f9ecf3db3eaa279 /plugins/Events
parent6bc507763db1f66f26c421c8bb736a312b9871d1 (diff)
Rename Metric::getColumn to Metric::getMetric and get rid of Metrics\Base.
Diffstat (limited to 'plugins/Events')
-rw-r--r--plugins/Events/Metrics/AverageEventValue.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Events/Metrics/AverageEventValue.php b/plugins/Events/Metrics/AverageEventValue.php
index e09079f266..8a29094822 100644
--- a/plugins/Events/Metrics/AverageEventValue.php
+++ b/plugins/Events/Metrics/AverageEventValue.php
@@ -29,8 +29,8 @@ class AverageEventValue extends ProcessedMetric
public function compute(Row $row)
{
- $sumEventValue = $this->getColumn($row, 'sum_event_value');
- $eventsWithValue = $this->getColumn($row, 'nb_events_with_value');
+ $sumEventValue = $this->getMetric($row, 'sum_event_value');
+ $eventsWithValue = $this->getMetric($row, 'nb_events_with_value');
return Piwik::getQuotientSafe($sumEventValue, $eventsWithValue, $precision = 2); // TODO: used to use shouldSkipRows = true
}