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

@ -7,6 +7,10 @@
*/ */
class LanguageDropdownField extends GroupedDropdownField { class LanguageDropdownField extends GroupedDropdownField {
private static $allowed_actions = array(
'getLocaleForObject'
);
/** /**
* Create a new LanguageDropdownField * Create a new LanguageDropdownField
* @param string $name * @param string $name