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