Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ocs/v1.php')
-rw-r--r--ocs/v1.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/ocs/v1.php b/ocs/v1.php
index e92250b7e38..80df64f4ed6 100644
--- a/ocs/v1.php
+++ b/ocs/v1.php
@@ -54,9 +54,6 @@ try {
// load all apps to get all api routes properly setup
OC_App::loadApps();
- // force language as given in the http request
- \OC::$server->getL10NFactory()->setLanguageFromRequest();
-
OC::$server->getRouter()->match('/ocs'.\OC::$server->getRequest()->getRawPathInfo());
return;
} catch (ResourceNotFoundException $e) {