From ca74a54dfa7f91905eefce8d0a62f871e40fc210 Mon Sep 17 00:00:00 2001
From: Morris Jobke <hey@morrisjobke.de>
Date: Tue, 9 Jan 2018 18:34:25 +0100
Subject: [PATCH] Remove "DEBUG OUTPUT:" from failing OCS API requests

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
---
 ocs/v1.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ocs/v1.php b/ocs/v1.php
index 43a1c2d9e0e..b6ed5697a69 100644
--- a/ocs/v1.php
+++ b/ocs/v1.php
@@ -81,7 +81,7 @@ try {
 
 	$format = \OC::$server->getRequest()->getParam('format', 'xml');
 	$txt='Invalid query, please check the syntax. API specifications are here:'
-		.' http://www.freedesktop.org/wiki/Specifications/open-collaboration-services. DEBUG OUTPUT:'."\n";
+		.' http://www.freedesktop.org/wiki/Specifications/open-collaboration-services.'."\n";
 	OC_API::respond(new \OC\OCS\Result(null, \OCP\API::RESPOND_NOT_FOUND, $txt), $format);
 } catch (MethodNotAllowedException $e) {
 	OC_API::setContentType();
@@ -96,7 +96,7 @@ try {
 
 	$format = \OC::$server->getRequest()->getParam('format', 'xml');
 	$txt='Invalid query, please check the syntax. API specifications are here:'
-		.' http://www.freedesktop.org/wiki/Specifications/open-collaboration-services. DEBUG OUTPUT:'."\n";
+		.' http://www.freedesktop.org/wiki/Specifications/open-collaboration-services.'."\n";
 	OC_API::respond(new \OC\OCS\Result(null, \OCP\API::RESPOND_NOT_FOUND, $txt), $format);
 }
 
-- 
GitLab