Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Merge branch 'wip-MDL-37263-m24' of git://…

…le into MOODLE_24_STABLE
  • Loading branch information...
commit d71b142446bf092abcedd5e81e7a5da5683ac06d 2 parents b61dd8b + e03782e
@danpoltawski danpoltawski authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 cache/classes/loaders.php
4 cache/classes/loaders.php
@@ -1093,6 +1093,10 @@ public function __construct(cache_definition $definition, cache_store $store, $l
$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

0 comments on commit d71b142

Please sign in to comment.
Something went wrong with that request. Please try again.