Move findLanguage() and setLanguageFromRequest() to factory

This commit is contained in:
Joas Schilling
2016-01-15 11:09:37 +01:00
parent 29a9306429
commit 043625ee52
7 changed files with 166 additions and 102 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ try {
}
// force language as given in the http request
\OC_L10N::setLanguageFromRequest();
\OC::$server->getL10NFactory()->setLanguageFromRequest();
$file=ltrim($file, '/');