diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2007-04-30 10:46:17 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2007-04-30 10:46:17 +0000 |
commit | 42251d008c06ad0f475f116643c6583fc9a4eda7 (patch) | |
tree | 0380ef1d4f7224c96612a8951988a59f33c6074e /phpBB/install/database_update.php | |
parent | dc747b8d994b6f5d07182196ed9deed7959a7317 (diff) | |
download | forums-42251d008c06ad0f475f116643c6583fc9a4eda7.tar forums-42251d008c06ad0f475f116643c6583fc9a4eda7.tar.gz forums-42251d008c06ad0f475f116643c6583fc9a4eda7.tar.bz2 forums-42251d008c06ad0f475f116643c6583fc9a4eda7.tar.xz forums-42251d008c06ad0f475f116643c6583fc9a4eda7.zip |
Prepare to be yelled at and brace for the tide of bug reports: I had hoped we would not have to do this, but it seems that we have to.
-Route all avatar downloads through download.php - adrien
-Change the way inline attachments are delivered
-Fixes a few (unreported) bugs, notably avatar upload during group generation
-#10079
git-svn-id: file:///svn/phpbb/trunk@7429 89ea8834-ac86-4346-8a33-228a782c2dd0
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; } |