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:
authorStefan Giehl <stefan@matomo.org>2019-03-04 11:46:05 +0300
committerGitHub <noreply@github.com>2019-03-04 11:46:05 +0300
commit283ec8d650d25d6f7577c13108a69d98367fc486 (patch)
treedc957a172e29af45d5b8838d983295bb5a839a63 /plugins/GeoIp2
parent9241966be35e9f3f3e7292e60c293e82dd8e5aa9 (diff)
Improve GeoIP2 re-scheduling (#14161)
Diffstat (limited to 'plugins/GeoIp2')
-rw-r--r--plugins/GeoIp2/GeoIP2AutoUpdater.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/GeoIp2/GeoIP2AutoUpdater.php b/plugins/GeoIp2/GeoIP2AutoUpdater.php
index 4c91a8f864..20707aa415 100644
--- a/plugins/GeoIp2/GeoIP2AutoUpdater.php
+++ b/plugins/GeoIp2/GeoIP2AutoUpdater.php
@@ -352,7 +352,7 @@ class GeoIP2AutoUpdater extends Task
/** @var Scheduler $scheduler */
$scheduler = StaticContainer::getContainer()->get('Piwik\Scheduler\Scheduler');
- $scheduler->rescheduleTask(new GeoIP2AutoUpdater());
+ $scheduler->rescheduleTaskAndRunTomorrow(new GeoIP2AutoUpdater());
}
// clear option for GeoIP as not needed if GeoIP2 is set up