summaryrefslogtreecommitdiffstats
path: root/lib/private/server.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-08-31 11:58:59 +0200
committerLukas Reschke <lukas@owncloud.com>2014-08-31 11:58:59 +0200
commita197ef0f6c5a79bf1d27b94d19b1dee7b6ef26da (patch)
treeb80f5846ca677783da46626d63bc9316c73e18d0 /lib/private/server.php
parentab5a3898365e9a07489423b79d9c823f42c9e98d (diff)
parenta58e670ae5517296e5fcbe256f04b1e7e13f86f2 (diff)
downloadnextcloud-server-a197ef0f6c5a79bf1d27b94d19b1dee7b6ef26da.tar.gz
nextcloud-server-a197ef0f6c5a79bf1d27b94d19b1dee7b6ef26da.zip
Merge pull request #10768 from owncloud/l10n-use-public
Use public api for getting l10n
Diffstat (limited to 'lib/private/server.php')
-rw-r--r--lib/private/server.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/server.php b/lib/private/server.php
index c502a968c74..28c4fe60856 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -373,10 +373,11 @@ class Server extends SimpleContainer implements IServerContainer {
* get an L10N instance
*
* @param string $app appid
+ * @param string $lang
* @return \OC_L10N
*/
- function getL10N($app) {
- return $this->query('L10NFactory')->get($app);
+ function getL10N($app, $lang = null) {
+ return $this->query('L10NFactory')->get($app, $lang);
}
/**