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:
authorThomas Steur <thomas.steur@googlemail.com>2014-06-24 01:11:15 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-06-24 01:11:15 +0400
commitbc31046e9c068b587cc0f3210126b345c8e3f8c6 (patch)
tree1148f41790865283ec6fe8dbabba55fe284cc191 /plugins/Actions/Reports/GetOutlinks.php
parenta83037ce24271c387a72f5ea2c8dec0527bf3dd4 (diff)
added new staticCache to remove a lot of duplicated code and to have a nice interface, by caching the default metrics we reduce the calls to translate from 50k to 2k resulting in good performance improvement...
Diffstat (limited to 'plugins/Actions/Reports/GetOutlinks.php')
-rw-r--r--plugins/Actions/Reports/GetOutlinks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Actions/Reports/GetOutlinks.php b/plugins/Actions/Reports/GetOutlinks.php
index 2a6c8c64f6..9c048b6a5c 100644
--- a/plugins/Actions/Reports/GetOutlinks.php
+++ b/plugins/Actions/Reports/GetOutlinks.php
@@ -28,7 +28,7 @@ class GetOutlinks extends Base
. Piwik::translate('Actions_OutlinkDocumentation') . '<br />'
. Piwik::translate('General_UsePlusMinusIconsDocumentation');
- $this->metrics = array_keys($this->getMetrics());
+ $this->metrics = array('nb_visits', 'nb_hits');
$this->order = 8;
$this->actionToLoadSubTables = $this->action;