Refactor override preference
Properly defaults the preference to be true and always return a boolean value since that is what celery will be expecting.
This commit is contained in:
parent
fefc53c000
commit
ae4c9203e6
3 changed files with 22 additions and 18 deletions
|
@ -144,10 +144,6 @@ class Application_Form_GeneralPreferences extends Zend_Form_SubForm
|
|||
$allowedCorsUrls->setValue($allowedCorsUrlsValue);
|
||||
$this->addElement($allowedCorsUrls);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$locale = new Zend_Form_Element_Select("locale");
|
||||
$locale->setLabel(_("Default Language"));
|
||||
$locale->setMultiOptions(Application_Model_Locale::getLocales());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue