From ff6564af571fa5c5b21f708d20cef6f02205bc00 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Sat, 26 Apr 2014 14:50:34 +0200 Subject: [PATCH] "echo" is a language construct. Don't treat it like a function. --- status.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {