diff options
-rw-r--r-- | lib/l10n.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/l10n.php b/lib/l10n.php index 682e15f0e9b..3596c992bae 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); |