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 b0e5b3b commit 903d13c0c28148d8327bfc5857f6de655b727098 @mudrd8mz mudrd8mz committed Aug 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pluginlib.php
View
2 lib/pluginlib.php
@@ -1064,7 +1064,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 903d13c

Please sign in to comment.