mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 00:07:44 +02:00
Ok, here comes a big one. Poor updater. Also requires testing.
#i91 #i92 #i93 #i94 #i95 #i96 git-svn-id: file:///svn/phpbb/trunk@8120 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -424,6 +424,15 @@ $database_update_info = array(
|
||||
),
|
||||
),
|
||||
),
|
||||
// Changes from 3.0.RC5 to the next version
|
||||
'3.0.RC5' => array(
|
||||
// Add the following columns
|
||||
'add_columns' => array(
|
||||
USER_TABLE => array(
|
||||
'user_form_salt' => array('VCHAR_UNI:32', ''),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
// Determine mapping database type
|
||||
@@ -1510,6 +1519,9 @@ if (version_compare($current_version, '3.0.RC5', '<='))
|
||||
WHERE bot_agent = '" . $db->sql_escape('Mediapartners-Google/') . "'";
|
||||
_sql($sql, $errored, $error_ary);
|
||||
|
||||
set_config('form_token_lifetime', '7200');
|
||||
set_config('form_token_mintime', '0');
|
||||
|
||||
$no_updates = false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user