Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
720f7c1
)
MDL-35109 Fix available_update_checker::cron_has_fresh_fetch()
author
David Mudrák
<david@moodle.com>
Tue, 28 Aug 2012 20:56:18 +0000
(22:56 +0200)
committer
David Mudrák
<david@moodle.com>
Tue, 28 Aug 2012 20:59:33 +0000
(22:59 +0200)
For the purpose of cron based fetching, recently fetched data are valid
for 24 hours.
lib/pluginlib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/pluginlib.php
b/lib/pluginlib.php
index
61d2a6e
..
b1139eb
100644
(file)
--- a/
lib/pluginlib.php
+++ b/
lib/pluginlib.php
@@
-1085,7
+1085,7
@@
class available_update_checker {
return true;
}
- if ($now - $recent > HOURSECS) {
+ if ($now - $recent >
24 *
HOURSECS) {
return false;
}