Skip to content
Snippets Groups Projects
Commit c696f449 authored by Thomas Tanghus's avatar Thomas Tanghus
Browse files

Make it easier to subclass OC_L10N.

parent 14e1be56
Branches
No related tags found
Loading
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment