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:
Lucas Bickel 2017-03-17 02:10:04 +01:00
parent fefc53c000
commit ae4c9203e6
3 changed files with 22 additions and 18 deletions

View file

@ -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());