Skip to content
Browse files

Merge branch 'master_MDL-35562' of git://github.com/danmarsden/moodle

  • Loading branch information...
2 parents 2aeb0fb + c705902 commit b94ffc6d8c22a1b7c4a6795df7ff75df4f42c713 @stronk7 stronk7 committed Oct 2, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 enrol/database/lib.php
View
5 enrol/database/lib.php
@@ -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);

0 comments on commit b94ffc6

Please sign in to comment.
Something went wrong with that request. Please try again.