diff options
author | Stefan Giehl <stefan@piwik.org> | 2018-02-26 22:07:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-26 22:07:47 +0300 |
commit | 9ff807ea79b1c65022b9ebc9b002cd05369613d1 (patch) | |
tree | d862447dee0f6e0b54793bc5632c0c16c22cfe3a /plugins/UserCountry | |
parent | fcb0ed37e60f579c3a4462dfc30afbdfdc6a3b25 (diff) |
Move methods away from Live controller (#12406)
* move methods away from Live controller
* Add new class ProfileSummaryProvider
* use transient cache instead of static variable
Diffstat (limited to 'plugins/UserCountry')
-rw-r--r-- | plugins/UserCountry/ProfileSummary/LocationSummary.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserCountry/ProfileSummary/LocationSummary.php b/plugins/UserCountry/ProfileSummary/LocationSummary.php index 2aee622b09..a55541d327 100644 --- a/plugins/UserCountry/ProfileSummary/LocationSummary.php +++ b/plugins/UserCountry/ProfileSummary/LocationSummary.php @@ -58,7 +58,7 @@ class LocationSummary extends ProfileSummaryAbstract $params = array( 'module' => 'UserCountryMap', 'action' => 'realtimeMap', - 'segment' => Live\Controller::getSegmentWithVisitorId(), + 'segment' => Live\Live::getSegmentWithVisitorId(), 'visitorId' => false, 'changeVisitAlpha' => 0, 'removeOldVisits' => 0, |