From a77ded0f8d340a121ce7ea470216ad20570fad94 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Wed, 9 May 2007 17:15:52 +0000 Subject: [PATCH] #8108 git-svn-id: file:///svn/phpbb/trunk@7516 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_convert.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php index 514da99e39..0d422b0520 100644 --- a/phpBB/includes/functions_convert.php +++ b/phpBB/includes/functions_convert.php @@ -1907,6 +1907,8 @@ function update_dynamic_config() set_config('upload_dir_size', (int) $db->sql_fetchfield('stat'), true); $db->sql_freeresult($result); + /** + * We do not resync users post counts - this can be done by the admin after conversion if wanted. $sql = 'SELECT COUNT(post_id) AS num_posts, poster_id FROM ' . POSTS_TABLE . ' WHERE post_postcount = 1 @@ -1918,6 +1920,7 @@ function update_dynamic_config() $db->sql_query('UPDATE ' . USERS_TABLE . " SET user_posts = {$row['num_posts']} WHERE user_id = {$row['poster_id']}"); } $db->sql_freeresult($result); + */ } /**