From de78ec35d433af4f6da990d5a48322feb8f97646 Mon Sep 17 00:00:00 2001 From: diosmosis <benaka@piwik.pro> Date: Tue, 18 Nov 2014 00:04:53 -0800 Subject: [PATCH] Remove TODO about benchmarking. --- core/Plugin/Metric.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Plugin/Metric.php b/core/Plugin/Metric.php index 9542d18933..e475eb837f 100644 --- a/core/Plugin/Metric.php +++ b/core/Plugin/Metric.php @@ -112,7 +112,7 @@ abstract class Metric $mappingNameToId = Metrics::getMappingFromNameToId(); } - if ($row instanceof Row) { // TODO: benchmark w/ array-access (so we don't need this if statement). + if ($row instanceof Row) { $value = $row->getColumn($columnName); if ($value === false && isset($mappingNameToId[$columnName]) -- GitLab