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/Contents | |
parent | 6bc507763db1f66f26c421c8bb736a312b9871d1 (diff) |
Rename Metric::getColumn to Metric::getMetric and get rid of Metrics\Base.
Diffstat (limited to 'plugins/Contents')
-rw-r--r-- | plugins/Contents/Metrics/InteractionRate.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Contents/Metrics/InteractionRate.php b/plugins/Contents/Metrics/InteractionRate.php index 41efeac82a..6e577e0e98 100644 --- a/plugins/Contents/Metrics/InteractionRate.php +++ b/plugins/Contents/Metrics/InteractionRate.php @@ -30,8 +30,8 @@ class InteractionRate extends ProcessedMetric public function compute(Row $row) { - $interactions = $this->getColumn($row, 'nb_interactions'); - $impressions = $this->getColumn($row, 'nb_impressions'); + $interactions = $this->getMetric($row, 'nb_interactions'); + $impressions = $this->getMetric($row, 'nb_impressions'); return Piwik::getQuotientSafe($interactions, $impressions, $precision = 4); } |