diff options
Diffstat (limited to 'plugins/UserCountry/Tasks.php')
-rw-r--r-- | plugins/UserCountry/Tasks.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/plugins/UserCountry/Tasks.php b/plugins/UserCountry/Tasks.php deleted file mode 100644 index 73618b91be..0000000000 --- a/plugins/UserCountry/Tasks.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php -/** - * Piwik - free/libre analytics platform - * - * @link https://matomo.org - * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later - * - */ -namespace Piwik\Plugins\UserCountry; - -use Piwik\SettingsPiwik; -class Tasks extends \Piwik\Plugin\Tasks -{ - public function schedule() - { - // add the auto updater task if GeoIP admin is enabled - if (UserCountry::isGeoLocationAdminEnabled() && SettingsPiwik::isInternetEnabled() === true) { - $this->scheduleTask(new GeoIPAutoUpdater()); - } - } -}
\ No newline at end of file |