mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +02:00
MDL-81298 external: fix typo error in failing testcase
This commit is contained in:
parent
39b8e198ff
commit
af9e66530a
1 changed files with 1 additions and 1 deletions
2
lib/external/classes/external_api.php
vendored
2
lib/external/classes/external_api.php
vendored
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue