summaryrefslogtreecommitdiffstats
path: root/lib/private/L10N/Factory.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/L10N/Factory.php')
-rw-r--r--lib/private/L10N/Factory.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/private/L10N/Factory.php b/lib/private/L10N/Factory.php
index 8aad395065c..581ca3fb5d1 100644
--- a/lib/private/L10N/Factory.php
+++ b/lib/private/L10N/Factory.php
@@ -271,24 +271,6 @@ class Factory implements IFactory {
}
/**
- * @param string|null $app App id or null for core
- * @return string
- */
- public function setLanguageFromRequest($app = null) {
-
- try {
- $requestLanguage = $this->getLanguageFromRequest($app);
- } catch (LanguageNotFoundException $e) {
- $requestLanguage = 'en';
- }
-
- if ($app === null && !$this->requestLanguage) {
- $this->requestLanguage = $requestLanguage;
- }
- return $requestLanguage;
- }
-
- /**
* Checks if $sub is a subdirectory of $parent
*
* @param string $sub