Skip to content
Extraits de code Groupes Projets
Valider c31d9367 rédigé par diosmosis's avatar diosmosis
Parcourir les fichiers

Fixing build.

parent 77ea9ff1
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
*/ */
namespace Piwik\Plugins\UserCountry; namespace Piwik\Plugins\UserCountry;
require_once PIWIK_INCLUDE_PATH . "/core/ScheduledTask.php"; // for the tracker which doesn't include this file
use Exception; use Exception;
use Piwik\Common; use Piwik\Common;
use Piwik\Date; use Piwik\Date;
...@@ -678,7 +680,7 @@ class GeoIPAutoUpdater extends ScheduledTask ...@@ -678,7 +680,7 @@ class GeoIPAutoUpdater extends ScheduledTask
return Date::factory($rescheduledTime)->subMonth(1); return Date::factory($rescheduledTime)->subMonth(1);
} else { } else {
Log::warning("Unknown GeoIP updater period found in database: %s", $updaterPeriod); Log::warning("Unknown GeoIP updater period found in database: %s", $updaterPeriod);
return 0; return Date::factory(0);
} }
} }
} }
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter