Skip to content

Commit

Permalink
Merge branch 'wip-MDL-37028-fix2' of git://github.com/marinaglancy/mo…
Browse files Browse the repository at this point in the history
…odle
  • Loading branch information
Damyon Wiese committed Sep 11, 2013
2 parents e3a1fa4 + cfda873 commit fa8b1fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/cli/fix_course_sequence.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
if ($errors) {
if (!empty($options['fix'])) {
// Reset the course cache to make sure cache is recalculated next time the course is viewed.
$DB->upgrade_record('course', array('modinfo' => null, 'id' => $courseid));
rebuild_course_cache($courseid, true);
}
foreach ($errors as $error) {
cli_problem($error);
Expand Down

0 comments on commit fa8b1fa

Please sign in to comment.