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-12 02:50:35 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-06-12 02:50:35 +0400
commit23ad82a8ea00a080922dfdb3b0ac9a018bfd3c7b (patch)
treed2e0e084e6f7cdf6439967253fbb9172c42db3d2 /plugins/CustomVariables/CustomVariables.php
parentf52c1e83aef857b6cf073f1f9fb00c6982f8d7d2 (diff)
some more reports, bugfixes, migrations to new structure
Diffstat (limited to 'plugins/CustomVariables/CustomVariables.php')
-rw-r--r--plugins/CustomVariables/CustomVariables.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/CustomVariables/CustomVariables.php b/plugins/CustomVariables/CustomVariables.php
index 0b9051d1da..2514067547 100644
--- a/plugins/CustomVariables/CustomVariables.php
+++ b/plugins/CustomVariables/CustomVariables.php
@@ -10,12 +10,9 @@ namespace Piwik\Plugins\CustomVariables;
use Piwik\ArchiveProcessor;
use Piwik\Piwik;
-use Piwik\Plugin\ViewDataTable;
use Piwik\Tracker\Cache;
use Piwik\Tracker;
-/**
- */
class CustomVariables extends \Piwik\Plugin
{
public function getInformation()
@@ -30,11 +27,10 @@ class CustomVariables extends \Piwik\Plugin
*/
public function getListHooksRegistered()
{
- $hooks = array(
+ return array(
'Goals.getReportsWithGoalMetrics' => 'getReportsWithGoalMetrics',
'API.getSegmentDimensionMetadata' => 'getSegmentsMetadata'
);
- return $hooks;
}
public function install()