summaryrefslogtreecommitdiffstats
path: root/ocs/providers.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-07-19 15:50:59 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-01 08:20:15 +0200
commit80b649c471247296d4034dfd891a9e9f3abf1c06 (patch)
tree35e663fbea654124be54e9e6d20e7fd0512da539 /ocs/providers.php
parent5424d6a40d13f922a19e2b2b0e484a56f4dbe7f3 (diff)
downloadnextcloud-server-80b649c471247296d4034dfd891a9e9f3abf1c06.tar.gz
nextcloud-server-80b649c471247296d4034dfd891a9e9f3abf1c06.zip
Suppress deprecated function in \OCP\JSON
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'ocs/providers.php')
-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');