diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-12-05 13:33:37 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-12-05 13:33:37 +0300 |
commit | 13bb9a7ecdd65ea61caf70a449af13edf9cb2913 (patch) | |
tree | 756a7dbe10dbf0ed26d4b48dc24ff231bafde452 /plugins/Live/API.php | |
parent | af73717d45280335b33707295fc4a72f3937d74e (diff) |
Visitor Profile clean code
Diffstat (limited to 'plugins/Live/API.php')
-rw-r--r-- | plugins/Live/API.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Live/API.php b/plugins/Live/API.php index 970056001b..ed11c6c277 100644 --- a/plugins/Live/API.php +++ b/plugins/Live/API.php @@ -160,8 +160,8 @@ class API extends \Piwik\Plugin\API return array(); } - $profile = new VisitorProfile(); - $result = $profile->makeVisitorProfile($visits, $idSite, $visitorId, $segment); + $profile = new VisitorProfile($idSite); + $result = $profile->makeVisitorProfile($visits, $visitorId, $segment); /** * Triggered in the Live.getVisitorProfile API method. Plugins can use this event |