MDL-35562 enrol_database: enrolment_sync - don't halt sync on failed search for course.
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
f187922695
commit
bc7088d881
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user