mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
comment the version mapping more appropiatly.
git-svn-id: file:///svn/phpbb/trunk@6795 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c0f64d360f
commit
3182317ef1
1 changed files with 14 additions and 16 deletions
|
@ -285,7 +285,7 @@ $unsigned_types = array('UINT', 'UINT:', 'USINT', 'BOOL', 'TIMESTAMP');
|
|||
|
||||
// Only an example, but also commented out
|
||||
$database_update_info = array(
|
||||
// Changes within this version
|
||||
// Changes from 3.0.b3 to the next version
|
||||
'3.0.b3' => array(
|
||||
// Change the following columns...
|
||||
'change_columns' => array(
|
||||
|
@ -309,7 +309,7 @@ $database_update_info = array(
|
|||
),
|
||||
),
|
||||
),
|
||||
// Latest version
|
||||
// Changes from 3.0.b4 to the next version
|
||||
'3.0.b4' => array(
|
||||
// Add the following columns
|
||||
'add_columns' => array(
|
||||
|
@ -320,9 +320,6 @@ $database_update_info = array(
|
|||
'session_forwarded_for' => array('VCHAR:255', 0),
|
||||
),
|
||||
),
|
||||
),
|
||||
// Latest version
|
||||
'3.0.b5' => array(
|
||||
// Remove the following keys
|
||||
'drop_keys' => array(
|
||||
ZEBRA_TABLE => array(
|
||||
|
@ -1346,17 +1343,18 @@ function add_bots()
|
|||
foreach ($bot_list as $bot_name => $bot_ary)
|
||||
{
|
||||
$user_row = array(
|
||||
'user_type' => USER_IGNORE,
|
||||
'group_id' => $group_id,
|
||||
'username' => $bot_name,
|
||||
'user_regdate' => time(),
|
||||
'user_password' => '',
|
||||
'user_colour' => '9E8DA7',
|
||||
'user_email' => '',
|
||||
'user_lang' => $config['default_lang'],
|
||||
'user_style' => 1,
|
||||
'user_timezone' => 0,
|
||||
'user_dateformat' => $config['default_dateformat'],
|
||||
'user_type' => USER_IGNORE,
|
||||
'group_id' => $group_id,
|
||||
'username' => $bot_name,
|
||||
'user_regdate' => time(),
|
||||
'user_password' => '',
|
||||
'user_colour' => '9E8DA7',
|
||||
'user_email' => '',
|
||||
'user_lang' => $config['default_lang'],
|
||||
'user_style' => 1,
|
||||
'user_timezone' => 0,
|
||||
'user_dateformat' => $config['default_dateformat'],
|
||||
'user_allow_massemail' => 0,
|
||||
);
|
||||
|
||||
$user_id = user_add($user_row);
|
||||
|
|
Loading…
Add table
Reference in a new issue