MDL-53451 tool_lpmigrate: Fixing broken logic found in tests
Thanks to MSSQL, the only one with failures.
This commit is contained in:
@@ -574,6 +574,11 @@ class framework_processor {
|
||||
// Finally, we remove the course competencies, but only for the 100% successful ones.
|
||||
foreach ($competenciestoremovefromcourse as $competencyid => $unused) {
|
||||
|
||||
// Skip competencies with issues.
|
||||
if (isset($competencieswithissues[$competencyid])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
try {
|
||||
// Process the course competency.
|
||||
api::remove_competency_from_course($courseid, $competencyid);
|
||||
|
||||
Reference in New Issue
Block a user