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:
authorBenaka Moorthi <benaka.moorthi@gmail.com>2013-09-22 02:34:41 +0400
committerBenaka Moorthi <benaka.moorthi@gmail.com>2013-09-22 02:34:41 +0400
commitc120944911a2333d0b61c3be5c2a480a29d68d55 (patch)
treea2df6dadb3821e1d0eef2a16172ef55851647305 /core/Archive.php
parent97bd07ba046e5131c7ec8eb4c93cecdf217d3237 (diff)
Refactoring core/Archive/DataCollection.php for clarity.
Diffstat (limited to 'core/Archive.php')
-rw-r--r--core/Archive.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Archive.php b/core/Archive.php
index 33bd25010b..2617e6fb07 100644
--- a/core/Archive.php
+++ b/core/Archive.php
@@ -178,7 +178,7 @@ class Archive
$data = $this->get($names, 'numeric');
$resultIndices = $this->getResultIndices();
- $result = $data->getArray($resultIndices);
+ $result = $data->getIndexedArray($resultIndices);
// if only one metric is returned, just return it as a numeric value
if (empty($resultIndices)
@@ -207,7 +207,7 @@ class Archive
public function getBlob($names, $idSubtable = null)
{
$data = $this->get($names, 'blob', $idSubtable);
- return $data->getArray($this->getResultIndices());
+ return $data->getIndexedArray($this->getResultIndices());
}
/**