Remove unused variables

pull/7022/head
Aleksander Machniak 5 years ago
parent 35e41670e6
commit 659980923a

@ -152,15 +152,15 @@ else {
// initialize db with schema found in /SQL/* // initialize db with schema found in /SQL/*
if ($db_working && $_POST['initdb']) { if ($db_working && $_POST['initdb']) {
if (!($success = $RCI->init_db($DB))) { if (!$RCI->init_db($DB)) {
$db_working = false; $db_working = false;
echo '<p class="warning">Please try to inizialize the database manually as described in the INSTALL guide. echo '<p class="warning">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</p>'; Make sure that the configured database extists and that the user as write privileges</p>';
} }
} }
else if ($db_working && $_POST['updatedb']) { else if ($db_working && $_POST['updatedb']) {
if (!($success = $RCI->update_db($_POST['version']))) { if (!$RCI->update_db($_POST['version'])) {
echo '<p class="warning">Database schema update failed.</p>'; echo '<p class="warning">Database schema update failed.</p>';
} }
} }

Loading…
Cancel
Save