forked from extern/egroupware
formatting, disable rpc function
This commit is contained in:
parent
e6eb32d36f
commit
6bb54e4059
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user