Permalink
Browse files

MDL-28218 allow testclient.php to find the necessary form for service…

…s defined in plugins.
  • Loading branch information...
1 parent 2a41529 commit df390ba9f0dfa5e2f36081e2a55196221c7d4d98 @timhunt timhunt committed with skodak Jul 6, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/externallib.php
View
3 lib/externallib.php
@@ -89,6 +89,9 @@ function external_function_info($function, $strictness=MUST_EXIST) {
if (isset($functions[$function->name]['description'])) {
$function->description = $functions[$function->name]['description'];
}
+ if (isset($functions[$function->name]['testclientpath'])) {
+ $function->testclientpath = $functions[$function->name]['testclientpath'];
+ }
}
return $function;

0 comments on commit df390ba

Please sign in to comment.