diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-10-29 10:08:52 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-10-29 10:08:52 +0000 |
commit | 838b4331106b082bee0c375d440960c34148357d (patch) | |
tree | e7d0718c423c9119529fa95cefa7f4dba7d80f01 /install.php | |
parent | ae2e4ccd78dd8b04030a1ea3ba14847c4668382f (diff) | |
download | brdo-838b4331106b082bee0c375d440960c34148357d.tar.gz brdo-838b4331106b082bee0c375d440960c34148357d.tar.bz2 |
- Patch #319666 by Dave Reid: remove unnecessary boolean ternary conditaionals.
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install.php b/install.php index 21ad8f755..cd7ee8d2a 100644 --- a/install.php +++ b/install.php @@ -584,7 +584,7 @@ function install_select_locale_form(&$form_state, $locales) { $form['locale'][$locale->name] = array( '#type' => 'radio', '#return_value' => $locale->name, - '#default_value' => ($locale->name == 'en' ? TRUE : FALSE), + '#default_value' => $locale->name == 'en', '#title' => $name . ($locale->name == 'en' ? ' ' . st('(built-in)') : ''), '#parents' => array('locale') ); @@ -940,7 +940,7 @@ function install_check_requirements($profile, $verify) { } elseif ($writable) { $requirements['settings file'] = array( - 'title' => st('Settings file'), + 'title' => st('Settings file'), 'value' => st('Settings file is writable.'), ); } |