Save "none" instead of "null" when choosing to not to store preferences

refs #8234
This commit is contained in:
Johannes Meyer 2015-01-23 16:04:45 +01:00
parent 2a543bb5ae
commit 359336243c
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ class ApplicationConfigForm extends Form
'multiOptions' => array( 'multiOptions' => array(
'ini' => $this->translate('File System (INI Files)'), 'ini' => $this->translate('File System (INI Files)'),
'db' => $this->translate('Database'), 'db' => $this->translate('Database'),
'null' => $this->translate('Don\'t Store Preferences') 'none' => $this->translate('Don\'t Store Preferences')
) )
) )
); );

View File

@ -66,7 +66,7 @@ class PreferencesPage extends Form
if (Platform::hasMysqlSupport() || Platform::hasPostgresqlSupport()) { if (Platform::hasMysqlSupport() || Platform::hasPostgresqlSupport()) {
$storageTypes['db'] = $this->translate('Database'); $storageTypes['db'] = $this->translate('Database');
} }
$storageTypes['null'] = $this->translate('Don\'t Store Preferences'); $storageTypes['none'] = $this->translate('Don\'t Store Preferences');
$this->addElement( $this->addElement(
'select', 'select',