Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ocs
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-07-19 16:50:59 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-01 09:20:15 +0300
commit80b649c471247296d4034dfd891a9e9f3abf1c06 (patch)
tree35e663fbea654124be54e9e6d20e7fd0512da539 /ocs
parent5424d6a40d13f922a19e2b2b0e484a56f4dbe7f3 (diff)
Suppress deprecated function in \OCP\JSON
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'ocs')
-rw-r--r--ocs/providers.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocs/providers.php b/ocs/providers.php
index 9efca14768e..1961a68ec2d 100644
--- a/ocs/providers.php
+++ b/ocs/providers.php
@@ -34,7 +34,7 @@ $url = $request->getServerProtocol() . '://' . substr($request->getServerHost()
$writer = new XMLWriter();
$writer->openURI('php://output');
$writer->startDocument('1.0','UTF-8');
-$writer->setIndent(4);
+$writer->setIndent(true);
$writer->startElement('providers');
$writer->startElement('provider');
$writer->writeElement('id', 'ownCloud');