MDL-35109 Fix available_update_checker::cron_has_fresh_fetch()

For the purpose of cron based fetching, recently fetched data are valid
for 24 hours.
This commit is contained in:
David Mudrák
2012-08-28 22:59:33 +02:00
parent 720f7c12e8
commit 7092ea5da5
+1 -1
View File
@@ -1085,7 +1085,7 @@ class available_update_checker {
return true;
}
if ($now - $recent > HOURSECS) {
if ($now - $recent > 24 * HOURSECS) {
return false;
}