summaryrefslogtreecommitdiffstats
path: root/status.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2014-04-26 14:50:34 +0200
committerAndreas Fischer <bantu@owncloud.com>2014-04-26 14:50:34 +0200
commitff6564af571fa5c5b21f708d20cef6f02205bc00 (patch)
treea98865223024c77515131a7768972f3aa5d267bc /status.php
parentd85b64ede623558b429f5a2377381e8ec77a53f1 (diff)
downloadnextcloud-server-ff6564af571fa5c5b21f708d20cef6f02205bc00.tar.gz
nextcloud-server-ff6564af571fa5c5b21f708d20cef6f02205bc00.zip
"echo" is a language construct. Don't treat it like a function.
Diffstat (limited to 'status.php')
-rw-r--r--status.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/status.php b/status.php
index 861eaed9cd2..a42c1581b83 100644
--- a/status.php
+++ b/status.php
@@ -34,7 +34,7 @@ try {
if (OC::$CLI) {
print_r($values);
} else {
- echo(json_encode($values));
+ echo json_encode($values);
}
} catch (Exception $ex) {