diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-15 11:09:37 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-26 14:02:31 +0100 |
commit | 043625ee522357e25bb786c4b439c90ab21bbfd1 (patch) | |
tree | 633c64268cb5a302436ba61d20eeb7eaf7a5e516 /remote.php | |
parent | 29a93064299f57584c6aadc8a6c56b51715d7269 (diff) | |
download | nextcloud-server-043625ee522357e25bb786c4b439c90ab21bbfd1.tar.gz nextcloud-server-043625ee522357e25bb786c4b439c90ab21bbfd1.zip |
Move findLanguage() and setLanguageFromRequest() to factory
Diffstat (limited to 'remote.php')
-rw-r--r-- | remote.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.php b/remote.php index a145fc4bd84..26203e2df8a 100644 --- a/remote.php +++ b/remote.php @@ -109,7 +109,7 @@ try { } // force language as given in the http request - \OC_L10N::setLanguageFromRequest(); + \OC::$server->getL10NFactory()->setLanguageFromRequest(); $file=ltrim($file, '/'); |