summaryrefslogtreecommitdiffstats
path: root/lib/private/server.php
diff options
context:
space:
mode:
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 53aab7a586a..bf1801a5ce8 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -369,10 +369,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);
}
/**