diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-06-10 13:00:42 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-06-16 12:10:27 +0400 |
commit | c17139710a43b55b5f48377e6281db6ae602957c (patch) | |
tree | 42fda2ab71074d8d273fab1c444a1fec53957df9 /plugins/SEO | |
parent | 7fdd382b2880f291752e33ec6f6f44a5dbb21dec (diff) |
refactoring / improvements of Archiveprocessing (in progress)
such as removing duplicate code and a lot of refactoring, the code is now much more readable!
Diffstat (limited to 'plugins/SEO')
-rw-r--r-- | plugins/SEO/API.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/SEO/API.php b/plugins/SEO/API.php index 26ac00c5bd..bc94a2663d 100644 --- a/plugins/SEO/API.php +++ b/plugins/SEO/API.php @@ -100,8 +100,6 @@ class Piwik_SEO_API $data[Piwik_Translate('SEO_Dmoz')] = $dmozRank; } - $dataTable = new Piwik_DataTable(); - $dataTable->addRowsFromArrayWithIndexLabel($data); - return $dataTable; + return Piwik_DataTable::makeFromIndexedArray($data); } } |