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>2014-12-05 13:33:37 +0300
committermattab <matthieu.aubry@gmail.com>2014-12-05 13:33:37 +0300
commit13bb9a7ecdd65ea61caf70a449af13edf9cb2913 (patch)
tree756a7dbe10dbf0ed26d4b48dc24ff231bafde452 /plugins/Live/API.php
parentaf73717d45280335b33707295fc4a72f3937d74e (diff)
Visitor Profile clean code
Diffstat (limited to 'plugins/Live/API.php')
-rw-r--r--plugins/Live/API.php4
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