]> git.mjollnir.org Git - moodle.git/commitdiff
web service MDL-12886 comment tmp_delete_user call from soap client (need to implemen...
authorjerome <jerome>
Fri, 23 Jan 2009 05:42:27 +0000 (05:42 +0000)
committerjerome <jerome>
Fri, 23 Jan 2009 05:42:27 +0000 (05:42 +0000)
webservice/soap/testclient/index.php

index fbc5a3575983423046707405e48f1e2a008b5966..b5fe69d1054c95a9515ee5f3ef1d44adfacd73cb 100644 (file)
@@ -26,8 +26,10 @@ try {
     printLastRequestResponse($client);
     var_dump($client->tmp_update_user(array('username' => "mockuser66",'mnethostid' => 1,'newusername' => "mockuser6b",'firstname' => "firstname6b")));
     printLastRequestResponse($client);
-    var_dump($client->tmp_delete_user(array('username' => "mockuser6b",'mnethostid' => 1)));
-    printLastRequestResponse($client);
+    //not working till authentication implemented
+    //(remove the has_capaibility of the user/external.php to make it work without authentication)
+    //var_dump($client->tmp_delete_user(array('username' => "mockuser6b",'mnethostid' => 1)));
+    //printLastRequestResponse($client);
 } catch (SoapFault $exception) {
     echo $exception;
 }