Skip to content

Commit

Permalink
Merge branch 'master_MDL-35562' of git://github.com/danmarsden/moodle…
Browse files Browse the repository at this point in the history
… into w40_MDL-35701_m24_enroldb
  • Loading branch information
skodak committed Sep 30, 2012
2 parents d7e8f95 + c705902 commit d347700
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions enrol/database/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -493,9 +493,8 @@ public function sync_enrolments($verbose = false) {
}
$rs->Close();
} else {
mtrace('Error while communicating with external enrolment database');
$extdb->Close();
return;
mtrace(" error: skipping course '$course->mapping' - could not match with external database");
continue;
}
unset($user_mapping);

Expand Down

0 comments on commit d347700

Please sign in to comment.