Skip to content

Commit 88388ca

Browse files
authored
Merge pull request #7760 from nextcloud/remove-useless-output
Remove "DEBUG OUTPUT:" from failing OCS API requests
2 parents e18c0b2 + ca74a54 commit 88388ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ocs/v1.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181

8282
$format = \OC::$server->getRequest()->getParam('format', 'xml');
8383
$txt='Invalid query, please check the syntax. API specifications are here:'
84-
.' http://www.freedesktop.org/wiki/Specifications/open-collaboration-services. DEBUG OUTPUT:'."\n";
84+
.' http://www.freedesktop.org/wiki/Specifications/open-collaboration-services.'."\n";
8585
OC_API::respond(new \OC\OCS\Result(null, \OCP\API::RESPOND_NOT_FOUND, $txt), $format);
8686
} catch (MethodNotAllowedException $e) {
8787
OC_API::setContentType();
@@ -96,7 +96,7 @@
9696

9797
$format = \OC::$server->getRequest()->getParam('format', 'xml');
9898
$txt='Invalid query, please check the syntax. API specifications are here:'
99-
.' http://www.freedesktop.org/wiki/Specifications/open-collaboration-services. DEBUG OUTPUT:'."\n";
99+
.' http://www.freedesktop.org/wiki/Specifications/open-collaboration-services.'."\n";
100100
OC_API::respond(new \OC\OCS\Result(null, \OCP\API::RESPOND_NOT_FOUND, $txt), $format);
101101
}
102102

0 commit comments

Comments
 (0)