aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-10 10:45:18 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-10 10:45:18 +0200
commit081dcc55ca4d87466f03dd180a86911c00df966d (patch)
treeebf0e7ee1020d3f98b3746d5c75a8be0c972f11d
parentdf143cb72a9681d977a7fa85553a95ce1ee2314f (diff)
downloadnextcloud-server-081dcc55ca4d87466f03dd180a86911c00df966d.tar.gz
nextcloud-server-081dcc55ca4d87466f03dd180a86911c00df966d.zip
Fix public l10n
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r--lib/public/L10N/IFactory.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/L10N/IFactory.php b/lib/public/L10N/IFactory.php
index 31276b12897..4f42e498ed1 100644
--- a/lib/public/L10N/IFactory.php
+++ b/lib/public/L10N/IFactory.php
@@ -56,10 +56,11 @@ interface IFactory {
/**
* find the matching lang from the locale
*
+ * @param string $app
* @param string $locale
* @return null|string
*/
- public function findLanguageFromLocale($locale = null);
+ public function findLanguageFromLocale($app = 'core', $locale = null);
/**
* Find all available languages for an app