Permalink
Browse files

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.
  • Loading branch information...
1 parent 720f7c1 commit 7092ea5da5dd6660ffb30dfcfa9e147f27e38f1a @mudrd8mz mudrd8mz committed Aug 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pluginlib.php
View
@@ -1085,7 +1085,7 @@ protected function cron_has_fresh_fetch($now) {
return true;
}
- if ($now - $recent > HOURSECS) {
+ if ($now - $recent > 24 * HOURSECS) {
return false;
}

0 comments on commit 7092ea5

Please sign in to comment.