Skip to content

Commit

Permalink
Add new parameter to Live. getLastVisitsDetails API to request more d…
Browse files Browse the repository at this point in the history
…etailed information (matomo-org#14147)
  • Loading branch information
tsteur authored and diosmosis committed Mar 3, 2019
1 parent 8d52548 commit 6aeea10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/Live/API.php
Expand Up @@ -157,9 +157,10 @@ public function getLastVisitsForVisitor($visitorId, $idSite, $filter_limit = 10,
* @param bool|int $minTimestamp (optional) Minimum timestamp to restrict the query to (useful when paginating or refreshing visits)
* @param bool $flat
* @param bool $doNotFetchActions
* @param bool $enhanced for plugins that want to expose additional information
* @return DataTable
*/
public function getLastVisitsDetails($idSite, $period = false, $date = false, $segment = false, $countVisitorsToFetch = false, $minTimestamp = false, $flat = false, $doNotFetchActions = false)
public function getLastVisitsDetails($idSite, $period = false, $date = false, $segment = false, $countVisitorsToFetch = false, $minTimestamp = false, $flat = false, $doNotFetchActions = false, $enhanced = false)
{
Piwik::checkUserHasViewAccess($idSite);
$idSite = Site::getIdSitesFromIdSitesString($idSite);
Expand Down

0 comments on commit 6aeea10

Please sign in to comment.