Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrice Maron <brice@bmaron.net>2012-06-07 23:11:55 +0400
committerBrice Maron <brice@bmaron.net>2012-06-07 23:11:55 +0400
commitcf02f3c1078b4b46fbf20d6269759b2b9b55aed8 (patch)
treebc299b72312734184deae602d87c57b0d45dee6d /lib/l10n.php
parente8447e0bda25744c4836a8fdf009a98174264eda (diff)
parentd4f6f3e9355979aedb174d6f9b5f60380934aca9 (diff)
Merge branch 'master' into multi_app_dir
Diffstat (limited to 'lib/l10n.php')
-rw-r--r--lib/l10n.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/l10n.php b/lib/l10n.php
index 70b32b92984..887652e2b85 100644
--- a/lib/l10n.php
+++ b/lib/l10n.php
@@ -77,6 +77,10 @@ class OC_L10N{
* language.
*/
public function __construct($app, $lang = null){
+ $this->init($app, $lang);
+ }
+
+ protected function init($app, $lang = null){
// Find the right language
if(is_null($lang)){
$lang = self::findLanguage($app);