diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-01-10 08:45:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-10 08:45:15 +0100 |
commit | 88388cadb03a0306e87f399da7b3eefdc7d23889 (patch) | |
tree | cbabfb60e34bb9fa5244bb9a490d7c0c433a7f47 | |
parent | e18c0b2ac34a1ef37940a1e1f27c3a961232334d (diff) | |
parent | ca74a54dfa7f91905eefce8d0a62f871e40fc210 (diff) | |
download | nextcloud-server-88388cadb03a0306e87f399da7b3eefdc7d23889.tar.gz nextcloud-server-88388cadb03a0306e87f399da7b3eefdc7d23889.zip |
Merge pull request #7760 from nextcloud/remove-useless-output
Remove "DEBUG OUTPUT:" from failing OCS API requests
-rw-r--r-- | ocs/v1.php | 4 |
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); } |