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:
authorDiego Baños Fariñas <diegobanosfarinas@gmail.com>2019-03-04 03:07:02 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2019-03-04 03:07:02 +0300
commiteb76c695a5a9d77c8a845f6c9694fb18f20b9400 (patch)
tree4ea2746323a50a7dee1253d68fd52d70c267cddf /plugins/UserCountry
parentfd2a9c15cc6b80a96599192c0edbccf5deeaecdd (diff)
GeoIP first will update the next day, then weekly/monthly after that. Fixes #11006 (#11659)
* Feature: GeoIP first update will be the next day. Then Monthly or Weekly * Get unit test to pass.
Diffstat (limited to 'plugins/UserCountry')
-rw-r--r--plugins/UserCountry/GeoIPAutoUpdater.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserCountry/GeoIPAutoUpdater.php b/plugins/UserCountry/GeoIPAutoUpdater.php
index 9d2ab6af92..18fd58c0a5 100644
--- a/plugins/UserCountry/GeoIPAutoUpdater.php
+++ b/plugins/UserCountry/GeoIPAutoUpdater.php
@@ -369,7 +369,7 @@ class GeoIPAutoUpdater extends Task
/** @var Scheduler $scheduler */
$scheduler = StaticContainer::getContainer()->get('Piwik\Scheduler\Scheduler');
- $scheduler->rescheduleTask(new GeoIPAutoUpdater());
+ $scheduler->rescheduleTaskAndRunTomorrow(new GeoIPAutoUpdater());
}
}