From 1eb50c7cd3d37e0783b6438f3076801b7fcb5419 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 11 Nov 2019 09:57:44 +0100 Subject: [PATCH] Remove unused variables --- installer/test.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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.

'; } }