mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-35562 enrol_database: enrolment_sync - don't halt sync on failed search for course.
This commit is contained in:
parent
9273bd1abb
commit
31fabbdbaa
1 changed files with 2 additions and 3 deletions
|
@ -481,9 +481,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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue