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/Events/Events.php
parentf52c1e83aef857b6cf073f1f9fb00c6982f8d7d2 (diff)
some more reports, bugfixes, migrations to new structure
Diffstat (limited to 'plugins/Events/Events.php')
-rw-r--r--plugins/Events/Events.php32
1 files changed, 1 insertions, 31 deletions
diff --git a/plugins/Events/Events.php b/plugins/Events/Events.php
index 8b0e8d7d90..c50b1f15db 100644
--- a/plugins/Events/Events.php
+++ b/plugins/Events/Events.php
@@ -11,8 +11,6 @@ namespace Piwik\Plugins\Events;
use Piwik\Common;
use Piwik\Piwik;
-/**
- */
class Events extends \Piwik\Plugin
{
/**
@@ -22,8 +20,7 @@ class Events extends \Piwik\Plugin
{
return array(
'API.getSegmentDimensionMetadata' => 'getSegmentsMetadata',
- 'Metrics.getDefaultMetricTranslations' => 'addMetricTranslations',
- 'API.getReportMetadata' => 'getReportMetadata',
+ 'Metrics.getDefaultMetricTranslations' => 'addMetricTranslations'
);
}
@@ -125,33 +122,6 @@ class Events extends \Piwik\Plugin
// );
// }
- public function getReportMetadata(&$reports)
- {
- $metrics = $this->getMetricTranslations();
- $documentation = $this->getMetricDocumentation();
- $labelTranslations = $this->getLabelTranslations();
-
- $order = 0;
- foreach($labelTranslations as $action => $translations) {
- $secondaryDimension = $this->getSecondaryDimensionFromRequest();
- $actionToLoadSubtables = API::getInstance()->getActionToLoadSubtables($action, $secondaryDimension);
- $reports[] = array(
- 'category' => Piwik::translate('Events_Events'),
- 'name' => Piwik::translate($translations[0]),
- 'module' => 'Events',
- 'action' => $action,
- 'dimension' => Piwik::translate($translations[1]),
- 'metrics' => $metrics,
- 'metricsDocumentation' => $documentation,
- 'processedMetrics' => false,
- 'actionToLoadSubTables' => $actionToLoadSubtables,
- 'order' => $order++
- );
-
- }
- }
-
-
/**
* Given getCategory, returns "Event Categories"
*