Merge branch 'm23_MDL-35562' of git://github.com/danmarsden/moodle into MOODLE_23_STABLE

This commit is contained in:
Eloy Lafuente (stronk7) 2012-10-02 15:59:09 +02:00
commit 0a7db801f3

View file

@ -481,9 +481,8 @@ class enrol_database_plugin extends enrol_plugin {
} }
$rs->Close(); $rs->Close();
} else { } else {
mtrace('Error while communicating with external enrolment database'); mtrace(" error: skipping course '$course->mapping' - could not match with external database");
$extdb->Close(); continue;
return;
} }
unset($user_mapping); unset($user_mapping);