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:
+1
-1
@@ -250,7 +250,7 @@ class external_api {
|
||||
foreach ($plugins as $plugin => $callback) {
|
||||
$result = $callback($externalfunctioninfo, $params);
|
||||
if ($result !== false) {
|
||||
break;
|
||||
break 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user