1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-23 04:36:15 +02:00

Minor fixes

git-svn-id: file:///svn/phpbb/trunk@3316 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud
2003-01-13 05:11:11 +00:00
parent 9f4cb905d3
commit ab928d8f5f
4 changed files with 39 additions and 37 deletions

View File

@@ -102,10 +102,7 @@ if (isset($_POST['start']) || isset($_GET['batchstart']))
//
// Take board offline
//
$sql = "UPDATE " . CONFIG_TABLE . "
SET config_value = '1'
WHERE config_name = 'board_disable'";
$db->sql_query($sql);
set_config('board_disable', 1);
//
// Empty existing tables
@@ -279,11 +276,7 @@ if (isset($_POST['start']) || isset($_GET['batchstart']))
}
else
{
$sql = "UPDATE " . CONFIG_TABLE . "
SET config_value = '0'
WHERE config_name = 'board_disable'";
$db->sql_query($sql);
set_config('board_disable', 0);
page_header($user->lang['Search_indexing']);
?>
@@ -303,11 +296,7 @@ if (isset($_POST['start']) || isset($_GET['batchstart']))
}
else if (isset($_POST['cancel']))
{
$sql = "UPDATE " . CONFIG_TABLE . "
SET config_value = '0'
WHERE config_name = 'board_disable'";
$db->sql_query($sql);
set_config('board_disable', 0);
page_header($user->lang['Search_indexing']);
?>