]> git.mjollnir.org Git - moodle.git/commitdiff
web services MDL-12886 trivial change
authorjerome <jerome>
Tue, 1 Sep 2009 08:52:28 +0000 (08:52 +0000)
committerjerome <jerome>
Tue, 1 Sep 2009 08:52:28 +0000 (08:52 +0000)
webservice/soap/testclient/zend/zend_soap_client.php
webservice/xmlrpc/testclient/zend_xmlrpc_client.php

index 63c53be2f05d16c7f23858437efb1cfad56d559f..cc8d7c77808ebc5f41c42d98f0623f66d71d5e04 100644 (file)
@@ -38,6 +38,7 @@ Zend_Loader::registerAutoload();
 
 $PAGE->set_course($COURSE);
 $PAGE->set_url('webservice/soap/testclient/zend/zend_soap_client.php');
+$PAGE->set_generaltype("form");
 
 ///Display Moodle page header
 $PAGE->set_title('Soap test client');
@@ -77,7 +78,7 @@ try {
     $params->username = 'wsuser';
     $params->password = 'wspassword';
     $token = $client->get_token($params);
-    //$token = $client->get_token($params);
+
     print "<pre>\n";
     print "<br><br><strong>Token: </strong>".$token;
     print "</pre>";
index e033a765ea3152bd44a9bbb9d6f8b841d63e78e7..7b09b8f8a51c7d2546c5bc48079752a5711eb3cc 100644 (file)
@@ -68,8 +68,3 @@ print "<br/><br/>\n";
 $params = new stdClass();
 $params->usernames = array("mockuser6b");
 var_dump($users = $client->call('user.delete_users', $params));
-//print "<br/><br/>\n";
-//var_dump($users = $client->call('user.tmp_do_multiple_user_searches', array(array(array('search' => "jerome"),array('search' => "admin")))));
-//print "<br/><br/>\n";
-
-?>
\ No newline at end of file