From 6abfde47dc5c8b2863d5219c1d1defe91b8e8712 Mon Sep 17 00:00:00 2001 From: Matt Porritt Date: Wed, 22 Feb 2023 16:03:57 +1100 Subject: [PATCH] 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. --- admin/webservice/forms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {