BUGFIX Removed obsolete CMSMain->EditingLang(), not used any longer (see #3997)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76731 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-05-13 06:02:31 +00:00
parent 0a362cc542
commit 9da24cdfb5

View File

@ -1439,18 +1439,7 @@ JS;
* @return boolean
*/
function IsTranslatableEnabled() {
return Translatable::is_enabled();
}
/**
* Get the name of the language that we are translating in
*/
function EditingLang() {
if(!Translatable::is_default_locale()) {
return i18n::get_locale_name(Translatable::current_locale());
} else {
return false;
}
return Object::has_extension('SiteTree', 'Translatable');
}
}