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>2013-10-09 06:27:46 +0400
committermattab <matthieu.aubry@gmail.com>2013-10-09 06:27:46 +0400
commit4d341983cb34ee64b199295923a4dadfb5b38b6e (patch)
tree2e6c5e1b54fa24f65d5a11d9b82c406dedc6383a /core/Tracker/Request.php
parent26bd3bc6cc6a7b83357050d6ebddee708e5fe20d (diff)
Refs #4202 removing functions Piwik_PostEvent and moving to Piwik::postEvent
Diffstat (limited to 'core/Tracker/Request.php')
-rw-r--r--core/Tracker/Request.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Tracker/Request.php b/core/Tracker/Request.php
index 7ae021fb0b..8a7218979f 100644
--- a/core/Tracker/Request.php
+++ b/core/Tracker/Request.php
@@ -6,6 +6,7 @@ use Piwik\Common;
use Piwik\Config;
use Piwik\Cookie;
use Piwik\IP;
+use Piwik\Piwik;
use Piwik\Tracker;
/**
@@ -297,7 +298,7 @@ class Request
* be higher than `0`, otherwise an exception will be triggered. By default the idSite is specified on the URL
* parameter `idsite`.
*/
- Piwik_PostEvent('Tracker.setSiteId', array(&$idSite, $this->params));
+ Piwik::postEvent('Tracker.setSiteId', array(&$idSite, $this->params));
if ($idSite <= 0) {
throw new Exception('Invalid idSite');
}