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
(from parent 1:
1b5c5e5
)
Merge branch 'wip-MDL-37263-m25' of git://github.com/samhemelryk/moodle
author
Dan Poltawski
<dan@moodle.com>
Mon, 24 Dec 2012 03:22:43 +0000
(11:22 +0800)
committer
Dan Poltawski
<dan@moodle.com>
Mon, 24 Dec 2012 03:22:43 +0000
(11:22 +0800)
cache/classes/loaders.php
patch
|
blob
|
blame
|
history
diff --git
a/cache/classes/loaders.php
b/cache/classes/loaders.php
index
74014c4
..
028a31e
100644
(file)
--- a/
cache/classes/loaders.php
+++ b/
cache/classes/loaders.php
@@
-1093,6
+1093,10
@@
class cache_application extends cache implements cache_loader_with_locking {
$todelete = array();
// Iterate the returned data for the events.
foreach ($events as $event => $keys) {
+ if ($keys === false) {
+ // There are no keys.
+ continue;
+ }
// Look at each key and check the timestamp.
foreach ($keys as $key => $timestamp) {
// If the timestamp of the event is more than or equal to the last invalidation (happened between the last