summaryrefslogtreecommitdiffstats
path: root/ocs/v1.php
diff options
context:
space:
mode:
Diffstat (limited to 'ocs/v1.php')
-rw-r--r--ocs/v1.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/ocs/v1.php b/ocs/v1.php
index 9d84f482ef7..4cbc857bbcf 100644
--- a/ocs/v1.php
+++ b/ocs/v1.php
@@ -31,7 +31,6 @@ try {
OC_API::setContentType();
OC_OCS::notFound();
} catch (MethodNotAllowedException $e) {
- setOcsContentType();
OC_API::setContentType();
OC_Response::setStatus(405);
}