diff --git a/htdocs/api/xmlrpc/dispatcher.php b/htdocs/api/xmlrpc/dispatcher.php index f2e756fc973f3f02db77a2284712fbd3a0ba7602..27870aebf82a13396c0708d98b8b47022de3f6f7 100644 --- a/htdocs/api/xmlrpc/dispatcher.php +++ b/htdocs/api/xmlrpc/dispatcher.php @@ -47,7 +47,10 @@ class Dispatcher { 'sso_in' => array(), 'sso_out' =>array( 'auth/mnet/auth.php/user_authorise' => 'user_authorise', - 'auth/mnet/auth.php/fetch_user_image' => 'fetch_user_image' + 'auth/mnet/auth.php/fetch_user_image' => 'fetch_user_image', + 'auth/mnet/auth.php/update_enrolments' => 'xmlrpc_not_implemented', + 'auth/mnet/auth.php/keepalive_server' => 'xmlrpc_not_implemented', + 'auth/mnet/auth.php/kill_children' => 'xmlrpc_not_implemented', ) ); @@ -136,7 +139,7 @@ class Dispatcher { } } - throw new XmlrpcServerException('No such method'); + throw new XmlrpcServerException('No such method: ' . $this->method); } diff --git a/htdocs/api/xmlrpc/lib.php b/htdocs/api/xmlrpc/lib.php index 450e1a04494291c645e2615aee3ea65f3bf77232..26bacf681158df4d083f2b655639a08fb590d65c 100644 --- a/htdocs/api/xmlrpc/lib.php +++ b/htdocs/api/xmlrpc/lib.php @@ -260,6 +260,10 @@ function user_authorise($token, $useragent) { return $userdata; } +function xmlrpc_not_implemented() { + return true; +} + /** * Given a USER, get all Service Providers for that User, based on child auth * instances of its canonical auth instance