mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-77355 Web services: add function class not found
Fixes a regression caused by MDL-76583 That prevents functions being added to new or existing external services.
This commit is contained in:
parent
fba0658777
commit
6abfde47dc
@ -196,7 +196,7 @@ class external_service_functions_form extends moodleform {
|
||||
//we add the descriptions to the functions
|
||||
foreach ($functions as $functionid => $functionname) {
|
||||
//retrieve full function information (including the description)
|
||||
$function = external_api::external_function_info($functionname);
|
||||
$function = \core_external\external_api::external_function_info($functionname);
|
||||
if (empty($function->deprecated)) {
|
||||
$functions[$functionid] = $function->name . ':' . $function->description;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user