summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-02-09 18:11:47 +0100
committerVincent Petry <pvince81@owncloud.com>2015-02-09 18:11:47 +0100
commit52967673936a74738dabdd8fdcd1ff458dc0da01 (patch)
tree1649aee11b1446f2f970fc66a452d39635ef8804 /lib/private
parent605e2357a182e3977272e89291fb2d70835317ce (diff)
parent9873aa3d9ed01c0e1c1e253f8e34d188b832b6eb (diff)
downloadnextcloud-server-52967673936a74738dabdd8fdcd1ff458dc0da01.tar.gz
nextcloud-server-52967673936a74738dabdd8fdcd1ff458dc0da01.zip
Merge pull request #13921 from owncloud/ocs-af
Add a controller and reponse for ocs
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/ocs.php2
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();