Browse Source

fix typo

MOODLE_26_STABLE
Dan Marsden 12 years ago
parent
commit
ff14681cf7
  1. 2
      locallib.php

2
locallib.php

@ -1398,7 +1398,7 @@ function attforblock_upgrade() {
// Clear cache for courses with attendances.
$attendances = $DB->get_recordset('attendance', array(), '', 'courseid');
foreach ($attendances as $attendance) {
rebuild_course_cache($attendance->courseid, true);
rebuild_course_cache($attendance->course, true);
}
$attendances->close();
}
Loading…
Cancel
Save