diff options
author | diosmosis <benaka@piwik.pro> | 2014-11-08 07:15:11 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-11-08 07:15:11 +0300 |
commit | 97dc9e2897fd5d365926af05078cf4f9941dd01a (patch) | |
tree | 5968b89ca0d2b099107bf5e91f9ecf3db3eaa279 /plugins/Events | |
parent | 6bc507763db1f66f26c421c8bb736a312b9871d1 (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.php | 4 |
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 } |