formatting, disable rpc function

This commit is contained in:
Miles Lott 2001-12-18 06:10:32 +00:00
parent e6eb32d36f
commit 6bb54e4059

View File

@ -37,7 +37,7 @@
$this->so = createobject('admin.soaccounts'); $this->so = createobject('admin.soaccounts');
} }
function list_methods($_type='xmlrpc') function DONTlist_methods($_type='xmlrpc')
{ {
/* /*
This handles introspection or discovery by the logged in client, This handles introspection or discovery by the logged in client,
@ -118,7 +118,6 @@
$ui = createobject('admin.uiaccounts'); $ui = createobject('admin.uiaccounts');
$ui->list_accounts(); $ui->list_accounts();
return False; return False;
} }
function delete_user() function delete_user()
@ -801,6 +800,8 @@
function rpc_add_user($data) function rpc_add_user($data)
{ {
exit;
if (!$errors = $this->validate_user($data)) if (!$errors = $this->validate_user($data))
{ {
$result = $this->so->add_user($data); $result = $this->so->add_user($data);
@ -809,9 +810,7 @@
{ {
$result = $errors; $result = $errors;
} }
return $result; return $result;
} }
} }
?> ?>