diff options
Diffstat (limited to 'plugins/Live/Live.php')
-rw-r--r-- | plugins/Live/Live.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/Live/Live.php b/plugins/Live/Live.php index 29be212907..e1bf4f828f 100644 --- a/plugins/Live/Live.php +++ b/plugins/Live/Live.php @@ -34,9 +34,16 @@ class Live extends \Piwik\Plugin 'Live.renderVisitorDetails' => 'renderVisitorDetails', 'Live.renderVisitorIcons' => 'renderVisitorIcons', 'Template.jsGlobalVariables' => 'addJsGlobalVariables', + 'API.getPagesComparisonsDisabledFor' => 'getPagesComparisonsDisabledFor', ); } + public function getPagesComparisonsDisabledFor(&$pages) + { + $pages[] = 'General_Visitors.Live_VisitorLog'; + $pages[] = 'General_Visitors.General_RealTime'; + } + public function addJsGlobalVariables(&$out) { $actionsToDisplayCollapsed = (int)StaticContainer::get('Live.pageViewActionsToDisplayCollapsed'); |