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:
Diffstat (limited to 'plugins/UserCountryMap/UserCountryMap.php')
-rw-r--r--plugins/UserCountryMap/UserCountryMap.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/UserCountryMap/UserCountryMap.php b/plugins/UserCountryMap/UserCountryMap.php
index b2b47e2a72..392df7291a 100644
--- a/plugins/UserCountryMap/UserCountryMap.php
+++ b/plugins/UserCountryMap/UserCountryMap.php
@@ -31,11 +31,17 @@ class UserCountryMap extends \Piwik\Plugin
$hooks = array(
'AssetManager.getJavaScriptFiles' => 'getJsFiles',
'AssetManager.getStylesheetFiles' => 'getStylesheetFiles',
- 'Translate.getClientSideTranslationKeys' => 'getClientSideTranslationKeys'
+ 'Translate.getClientSideTranslationKeys' => 'getClientSideTranslationKeys',
+ 'API.getPagesComparisonsDisabledFor' => 'getPagesComparisonsDisabledFor',
);
return $hooks;
}
+ public function getPagesComparisonsDisabledFor(&$pages)
+ {
+ $pages[] = 'General_Visitors.UserCountryMap_RealTimeMap';
+ }
+
public function getJsFiles(&$jsFiles)
{
$jsFiles[] = "libs/bower_components/visibilityjs/lib/visibility.core.js";