From 048f3d32d6f6aaae9ceecd9fc361bf57ce71d94d Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Wed, 6 Jul 2011 15:42:48 +0100 Subject: [PATCH] MDL-28218 allow testclient.php to find the necessary form for services defined in plugins. --- lib/externallib.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/externallib.php b/lib/externallib.php index 532dac19e60..0efc009655c 100644 --- a/lib/externallib.php +++ b/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;