Skip to content

Commit

Permalink
MDL-81298 external: fix typo error in failing testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
vithushau authored and Vithusha Kethiri committed Mar 27, 2024
1 parent 4aea02a commit b838c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/external/classes/external_api.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public static function external_function_info($function, $strictness = MUST_EXIS
} 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;
}
}
Expand Down

0 comments on commit b838c91

Please sign in to comment.