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:48:31 +01:00
parent d4d798e684
commit aa823d1c23
+1 -1
View File
@@ -250,7 +250,7 @@ class external_api {
foreach ($plugins as $plugin => $callback) {
$result = $callback($externalfunctioninfo, $params);
if ($result !== false) {
break;
break 2;
}
}
}