summaryrefslogtreecommitdiffstats
path: root/lib/ocs.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-11 17:44:02 +0100
committerBart Visscher <bartv@thisnet.nl>2013-02-14 08:38:37 +0100
commitffae6f4b847e96d691053300c355ab81edc6c1c8 (patch)
tree928a210abf40ab333c0a08fb469be87c71147b24 /lib/ocs.php
parent2d6d0a4ad438590504c13f04a6b2916a59a99c30 (diff)
downloadnextcloud-server-ffae6f4b847e96d691053300c355ab81edc6c1c8.tar.gz
nextcloud-server-ffae6f4b847e96d691053300c355ab81edc6c1c8.zip
Style-fix: Breakup long lines
Diffstat (limited to 'lib/ocs.php')
-rw-r--r--lib/ocs.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/ocs.php b/lib/ocs.php
index e08f0846f81..93e8931ce2e 100644
--- a/lib/ocs.php
+++ b/lib/ocs.php
@@ -87,7 +87,8 @@ class OC_OCS {
}
$format = self::readData($method, 'format', 'text', '');
- $txt='Invalid query, please check the syntax. API specifications are here: http://www.freedesktop.org/wiki/Specifications/open-collaboration-services. DEBUG OUTPUT:'."\n";
+ $txt='Invalid query, please check the syntax. API specifications are here:'
+ .' http://www.freedesktop.org/wiki/Specifications/open-collaboration-services. DEBUG OUTPUT:'."\n";
$txt.=OC_OCS::getDebugOutput();
echo(OC_OCS::generateXml($format, 'failed', 999, $txt));
@@ -122,7 +123,8 @@ class OC_OCS {
* @param int $itemsperpage
* @return string xml/json
*/
- private static function generateXml($format, $status, $statuscode, $message, $data=array(), $tag='', $tagattribute='', $dimension=-1, $itemscount='', $itemsperpage='') {
+ private static function generateXml($format, $status, $statuscode,
+ $message, $data=array(), $tag='', $tagattribute='', $dimension=-1, $itemscount='', $itemsperpage='') {
if($format=='json') {
$json=array();
$json['status']=$status;