summaryrefslogtreecommitdiffstats
path: root/lib/private/L10N
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2018-06-27 21:12:08 +0200
committerGeorg Ehrke <developer@georgehrke.com>2018-06-27 21:52:19 +0200
commitb17d256761ef244bacbadd37f661bfe92ed6972e (patch)
tree27f2b3869259e482cb085a858818ecfe837e9085 /lib/private/L10N
parent9157086c23c8a82479084cc2c12a98f5f726ef5f (diff)
downloadnextcloud-server-b17d256761ef244bacbadd37f661bfe92ed6972e.tar.gz
nextcloud-server-b17d256761ef244bacbadd37f661bfe92ed6972e.zip
fix use of findLocale
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'lib/private/L10N')
-rw-r--r--lib/private/L10N/Factory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/L10N/Factory.php b/lib/private/L10N/Factory.php
index b8774c2f74e..d824fa461e7 100644
--- a/lib/private/L10N/Factory.php
+++ b/lib/private/L10N/Factory.php
@@ -126,7 +126,7 @@ class Factory implements IFactory {
}
if ($locale === null || !$this->localeExists($locale)) {
- $locale = $this->findLocale($app, $lang);
+ $locale = $this->findLocale($lang);
}
if (!isset($this->instances[$lang][$app])) {