mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 03:13:40 +01:00
fixed the categories xmlrpc signature
This commit is contained in:
parent
4d9d50fc09
commit
d8c602e654
@ -531,8 +531,8 @@
|
|||||||
),
|
),
|
||||||
'categories' => array(
|
'categories' => array(
|
||||||
'function' => 'categories',
|
'function' => 'categories',
|
||||||
'signature' => array(array(xmlrpcBool,xmlrpcStruct)),
|
'signature' => array(array(xmlrpcBoolean,xmlrpcBoolean)),
|
||||||
'docstring' => lang('List all categories.')
|
'docstring' => lang('List all categories')
|
||||||
),
|
),
|
||||||
'list_methods' => array(
|
'list_methods' => array(
|
||||||
'function' => 'list_methods',
|
'function' => 'list_methods',
|
||||||
@ -609,6 +609,6 @@
|
|||||||
// return array with all infolog categories (for xmlrpc)
|
// return array with all infolog categories (for xmlrpc)
|
||||||
function categories($complete = False)
|
function categories($complete = False)
|
||||||
{
|
{
|
||||||
return $GLOBALS['server']->categories($complete);
|
return $this->xmlrpc ? $GLOBALS['server']->categories($complete) : False;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user