MDL-81298 external: fix typo error in failing testcase

This commit is contained in:
Vithusha Uthayakumar 2024-03-27 16:38:48 +11:00 committed by Vithusha Kethiri
parent 39b8e198ff
commit af9e66530a

View file

@ -148,7 +148,7 @@ class external_api {
} else if (method_exists($function->classname, $function->ajax_method)) {
if (call_user_func([$function->classname, $function->ajax_method]) === true) {
debugging('External function ' . $function->ajax_method . '() function is deprecated.' .
'Set ajax=>true in db/service.php instead.', DEBUG_DEVELOPER);
'Set ajax=>true in db/services.php instead.', DEBUG_DEVELOPER);
$function->allowed_from_ajax = true;
}
}