diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-02-05 14:02:17 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-02-05 14:02:17 +0100 |
commit | fdc64e370c2c4a1b3d5865ced7b52693d405650f (patch) | |
tree | f4cb04a3259cca97f266e2f1692c02195ed10095 /lib/private/ocs.php | |
parent | 9adff77040933d8df591a0eb6fa4ab4c1da7746f (diff) | |
download | nextcloud-server-fdc64e370c2c4a1b3d5865ced7b52693d405650f.tar.gz nextcloud-server-fdc64e370c2c4a1b3d5865ced7b52693d405650f.zip |
add a controller and reponse for ocs
Diffstat (limited to 'lib/private/ocs.php')
-rw-r--r-- | lib/private/ocs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/ocs.php b/lib/private/ocs.php index 214b28fa22c..bbe642a247d 100644 --- a/lib/private/ocs.php +++ b/lib/private/ocs.php @@ -121,7 +121,7 @@ class OC_OCS { * @param int|string $itemsperpage * @return string xml/json */ - private static function generateXml($format, $status, $statuscode, + public static function generateXml($format, $status, $statuscode, $message, $data=array(), $tag='', $tagattribute='', $dimension=-1, $itemscount='', $itemsperpage='') { if($format=='json') { $json=array(); |