From 93c35a89bbb0711b47fecdb585834afa64ae4d15 Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Wed, 24 May 2023 09:36:23 +0100 Subject: [PATCH] MDL-78339 webservice: correctly namespace external API. --- webservice/wsdoc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webservice/wsdoc.php b/webservice/wsdoc.php index c5c66a52fe7..19e3461fca5 100644 --- a/webservice/wsdoc.php +++ b/webservice/wsdoc.php @@ -65,7 +65,7 @@ $functions = $webservice->get_external_functions(array($token->externalserviceid // get all the function descriptions $functiondescs = array(); foreach ($functions as $function) { - $functiondescs[$function->name] = external_api::external_function_info($function); + $functiondescs[$function->name] = \core_external\external_api::external_function_info($function); } // TODO: MDL-76078 - Incorrect inter-communication, core cannot have plugin dependencies like this.