diff --git a/admin/webservice/forms.php b/admin/webservice/forms.php index 3060fd3fab9..4f15173f35c 100644 --- a/admin/webservice/forms.php +++ b/admin/webservice/forms.php @@ -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 {