Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-25191-m20' of git://github.com/sammarshallou/moodle…

… into MOODLE_20_STABLE
  • Loading branch information...
commit b5e1c2e748008d39914b15a63d114d3cf5a74b79 2 parents 98c1207 + c281550
@stronk7 stronk7 authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/modinfolib.php
View
2  lib/modinfolib.php
@@ -1074,6 +1074,8 @@ function get_fast_modinfo(&$course, $userid=0) {
if (count($cache) > MAX_MODINFO_CACHE_SIZE) {
reset($cache);
$key = key($cache);
+ unset($cache[$key]->instances);
+ unset($cache[$key]->cms);
unset($cache[$key]);
}
Please sign in to comment.
Something went wrong with that request. Please try again.