Browse Source

fix another typo

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

2
locallib.php

@ -1396,7 +1396,7 @@ function attforblock_upgrade() {
$DB->update_record('modules', $module); $DB->update_record('modules', $module);
// Clear cache for courses with attendances. // Clear cache for courses with attendances.
$attendances = $DB->get_recordset('attendance', array(), '', 'courseid'); $attendances = $DB->get_recordset('attendance', array(), '', 'course');
foreach ($attendances as $attendance) { foreach ($attendances as $attendance) {
rebuild_course_cache($attendance->course, true); rebuild_course_cache($attendance->course, true);
} }

Loading…
Cancel
Save