Merge pull request #120 from silverstripe-rebelalliance/esr

BUG: with the enforcement of allowed_actions in 3.2 getLocaleForObject is blocked
This commit is contained in:
Ingo Schommer 2013-07-12 01:32:31 -07:00
commit 42f048f34a

View File

@ -6,6 +6,10 @@
* @package translatable
*/
class LanguageDropdownField extends GroupedDropdownField {
private static $allowed_actions = array(
'getLocaleForObject'
);
/**
* Create a new LanguageDropdownField
@ -105,4 +109,4 @@ class LanguageDropdownField extends GroupedDropdownField {
return $locale;
}
}
}