aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrgoldy <gijsmartens1@gmail.com>2019-08-26 00:28:51 +0200
committermrgoldy <gijsmartens1@gmail.com>2019-08-26 00:28:51 +0200
commit88ec8cdcc6427b12a496c5f2813ec24594f38133 (patch)
tree20adf86919e333451704cf9127d8debfdf52d7b4 /phpBB/includes/acp/acp_database.php
parent[3.2.x] Update version numbers to 3.2.9-dev (diff)
downloadphpbb-88ec8cdcc6427b12a496c5f2813ec24594f38133.tar.gz
phpbb-88ec8cdcc6427b12a496c5f2813ec24594f38133.tar.bz2
phpbb-88ec8cdcc6427b12a496c5f2813ec24594f38133.zip
[ticket/16084] Remove redundant backup radio button
PHPBB3-16084
Diffstat (limited to 'phpBB/includes/acp/acp_database.php')
-rw-r--r--phpBB/includes/acp/acp_database.php10
1 files changed, 3 insertions, 7 deletions
diff --git a/phpBB/includes/acp/acp_database.php b/phpBB/includes/acp/acp_database.php
index c33c2e4d6f..677fce7217 100644
--- a/phpBB/includes/acp/acp_database.php
+++ b/phpBB/includes/acp/acp_database.php
@@ -58,7 +58,6 @@ class acp_database
$type = $request->variable('type', '');
$table = array_intersect($this->db_tools->sql_list_tables(), $request->variable('table', array('')));
$format = $request->variable('method', '');
- $where = $request->variable('where', '');
if (!count($table))
{
@@ -70,12 +69,9 @@ class acp_database
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
}
- $store = $structure = $schema_data = false;
-
- if ($where == 'store')
- {
- $store = true;
- }
+ $store = true;
+ $structure = false;
+ $schema_data = false;
if ($type == 'full' || $type == 'structure')
{