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:
authormattab <matthieu.aubry@gmail.com>2014-04-12 06:00:58 +0400
committermattab <matthieu.aubry@gmail.com>2014-04-12 06:00:58 +0400
commit238f49720c5787890c952cf14ac86c6ad4aae4bf (patch)
tree0ad11b8fa63c05fab55f65d5289c4a2462f17a7b /plugins/Events/API.php
parent353bb6b1929876075a7e38690465da0c752928df (diff)
Fix notice
Diffstat (limited to 'plugins/Events/API.php')
-rw-r--r--plugins/Events/API.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/Events/API.php b/plugins/Events/API.php
index 7b55bea7ac..23aa5bdc59 100644
--- a/plugins/Events/API.php
+++ b/plugins/Events/API.php
@@ -55,11 +55,8 @@ class API extends \Piwik\Plugin\API
/**
* @ignore
*/
- public function getActionToLoadSubtables($apiMethod, $secondaryDimension = false)
+ public function getActionToLoadSubtables($apiMethod, $secondaryDimension)
{
- if(empty($secondaryDimension)) {
- $secondaryDimension = $this->getDefaultSecondaryDimension($apiMethod);
- }
$recordName = $this->getRecordNameForAction($apiMethod, $secondaryDimension);
$apiMethod = array_search( $recordName, $this->mappingApiToRecord );
return $apiMethod;