MDL-35562 enrol_database: enrolment_sync - don't halt sync on failed search for course.

This commit is contained in:
Dan Marsden
2012-10-02 15:59:59 +02:00
committed by Eloy Lafuente (stronk7)
parent f187922695
commit bc7088d881
+2 -3
View File
@@ -446,9 +446,8 @@ class enrol_database_plugin extends enrol_plugin {
}
$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);