aboutsummaryrefslogtreecommitdiffstats
path: root/ocs
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-01-09 18:34:25 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-01-09 18:34:25 +0100
commitca74a54dfa7f91905eefce8d0a62f871e40fc210 (patch)
tree20d1d39bb46f85b3896c7b96b937bf53f07263c5 /ocs
parent9386b07ed8c469189779949debb4483e713e3836 (diff)
downloadnextcloud-server-ca74a54dfa7f91905eefce8d0a62f871e40fc210.tar.gz
nextcloud-server-ca74a54dfa7f91905eefce8d0a62f871e40fc210.zip
Remove "DEBUG OUTPUT:" from failing OCS API requests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'ocs')
-rw-r--r--ocs/v1.php4
1 files 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);
}