mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX fixed visibility on i18n::default_locale()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43758 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
a645869bc3
commit
d85bf0b73e
@ -1180,6 +1180,10 @@ class i18n extends Controller {
|
||||
return Translatable::default_lang();
|
||||
}
|
||||
|
||||
static function default_locale() {
|
||||
return self::$default_locale;
|
||||
}
|
||||
|
||||
/**
|
||||
* Enables the multilingual content feature (proxy for Translatable::enable())
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user