diff --git a/installer/test.php b/installer/test.php index 9686808fd..dbaabefbf 100644 --- a/installer/test.php +++ b/installer/test.php @@ -152,15 +152,15 @@ else { // initialize db with schema found in /SQL/* if ($db_working && $_POST['initdb']) { - if (!($success = $RCI->init_db($DB))) { + if (!$RCI->init_db($DB)) { $db_working = false; echo '

Please try to inizialize the database manually as described in the INSTALL guide. - Make sure that the configured database extists and that the user as write privileges

'; + Make sure that the configured database extists and that the user as write privileges

'; } } else if ($db_working && $_POST['updatedb']) { - if (!($success = $RCI->update_db($_POST['version']))) { + if (!$RCI->update_db($_POST['version'])) { echo '

Database schema update failed.

'; } }