aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index bf2d3a1c70..b28879de4d 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -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;
}