diff options
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r-- | phpBB/install/database_update.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index d7bd1b3782..82faa022ad 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -1087,11 +1087,14 @@ if (version_compare($current_version, '3.0.b5', '<=')) } unset($sql_in); + set_config('avatar_salt', md5(mt_rand())); + $sql = 'UPDATE ' . ACL_OPTIONS_TABLE . ' SET is_local = 0 WHERE auth_option = \'m_warn\''; $db->sql_query($sql); $sql = 'UPDATE ' . MODULES_TABLE . ' SET module_auth = \'acl_m_warn && acl_f_read,$id\' WHERE module_basename = \'warn\' AND module_mode = \'warn_post\''; $db->sql_query($sql); + $no_updates = false; } |