Merge branch 'MDL-76284-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE

This commit is contained in:
Jun Pataleta
2022-12-01 09:02:48 +03:00
committed by Ilya Tregubov
+2 -1
View File
@@ -684,7 +684,8 @@ class webservice {
}
}
if (empty($servicecaps)) {
// Bail out early if there's nothing to process.
if (empty($users) || empty($servicecaps)) {
return [];
}