diff options
author | Matthieu Aubry <matt@piwik.org> | 2015-03-04 00:35:23 +0300 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2015-03-04 00:35:23 +0300 |
commit | 6c8fc96c7f36970800c4ac9d7f39b4dfb7333170 (patch) | |
tree | e96cb687f131bb3ae96334638ee658bce6409612 /core | |
parent | ece78fa8e62b9182dbc7dea4cb348f9d3612fbd8 (diff) | |
parent | c31c24165290957dd276e0c31dd77415775a784d (diff) |
Merge pull request #7344 from piwik/fix_static_method_call
Fix static method is called with $this
Diffstat (limited to 'core')
-rw-r--r-- | core/API/Request.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/API/Request.php b/core/API/Request.php index b135a5f20e..1db4009606 100644 --- a/core/API/Request.php +++ b/core/API/Request.php @@ -218,12 +218,12 @@ class Request list($module, $method) = $this->extractModuleAndMethod($moduleMethod); - list($module, $method) = $this->getRenamedModuleAndAction($module, $method); + list($module, $method) = self::getRenamedModuleAndAction($module, $method); if (!\Piwik\Plugin\Manager::getInstance()->isPluginActivated($module)) { throw new PluginDeactivatedException($module); } - $apiClassName = $this->getClassNameAPI($module); + $apiClassName = self::getClassNameAPI($module); self::reloadAuthUsingTokenAuth($this->request); |