diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-04-12 06:00:58 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-04-12 06:00:58 +0400 |
commit | 238f49720c5787890c952cf14ac86c6ad4aae4bf (patch) | |
tree | 0ad11b8fa63c05fab55f65d5289c4a2462f17a7b /plugins/Events/API.php | |
parent | 353bb6b1929876075a7e38690465da0c752928df (diff) |
Fix notice
Diffstat (limited to 'plugins/Events/API.php')
-rw-r--r-- | plugins/Events/API.php | 5 |
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; |