diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-10-09 06:27:46 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-10-09 06:27:46 +0400 |
commit | 4d341983cb34ee64b199295923a4dadfb5b38b6e (patch) | |
tree | 2e6c5e1b54fa24f65d5a11d9b82c406dedc6383a /core/Translate.php | |
parent | 26bd3bc6cc6a7b83357050d6ebddee708e5fe20d (diff) |
Refs #4202 removing functions Piwik_PostEvent and moving to Piwik::postEvent
Diffstat (limited to 'core/Translate.php')
-rw-r--r-- | core/Translate.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Translate.php b/core/Translate.php index 6c03b88236..22b2193f17 100644 --- a/core/Translate.php +++ b/core/Translate.php @@ -119,7 +119,7 @@ class Translate * it for instance to detect the users language by using a third party API such as a CMS. The language that * is set in the request URL is passed as an argument. */ - Piwik_PostEvent('User.getLanguage', array(&$lang)); + Piwik::postEvent('User.getLanguage', array(&$lang)); self::$languageToLoad = $lang; } @@ -188,7 +188,7 @@ class Translate * } * ``` */ - Piwik_PostEvent(self::GET_CLIENT_SIDE_TRANSLATION_KEYS_EVENT, array(&$result)); + Piwik::postEvent(self::GET_CLIENT_SIDE_TRANSLATION_KEYS_EVENT, array(&$result)); $result = array_unique($result); |