MDL-69663 Web services: override_webservice_execution not honoured

If two different plugin types (e.g. theme, local) implement
override_webservice_execution callbacks, then all of them except
the 'last' plugin type do not work correctly.
This commit is contained in:
sam marshall
2020-09-10 09:51:47 +01:00
parent 472d293a16
commit 0268610d25
+1 -1
View File
@@ -239,7 +239,7 @@ class external_api {
foreach ($plugins as $plugin => $callback) {
$result = $callback($externalfunctioninfo, $params);
if ($result !== false) {
break;
break 2;
}
}
}