1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: William Desportes <williamdes@wdes.fr>
Date: Tue, 21 Jan 2025 01:18:25 +0100
Subject: Disable GeoIP
Origin: vendor
Forwarded: not-needed
---
plugins/UserCountry/UserCountry.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugins/UserCountry/UserCountry.php b/plugins/UserCountry/UserCountry.php
index 313c54e..00d65bf 100644
--- a/plugins/UserCountry/UserCountry.php
+++ b/plugins/UserCountry/UserCountry.php
@@ -106,6 +106,7 @@ class UserCountry extends \Piwik\Plugin
public static function isGeoLocationAdminEnabled()
{
- return (bool) Config::getInstance()->General['enable_geolocation_admin'];
+ return false;
+ //return (bool) Config::getInstance()->General['enable_geolocation_admin'];
}
}
|