aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/convertors/convert_phpbb20.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2007-03-17 12:18:38 +0000
committerNils Adermann <naderman@naderman.de>2007-03-17 12:18:38 +0000
commitc14916296224158c899ee1433faab5bc75ed2609 (patch)
tree45b119566add16c8ef4ce2bc41eb48bdee900b9a /phpBB/install/convertors/convert_phpbb20.php
parent365c02b9a3e62e5c98a3eb9e091ad7e751004f82 (diff)
downloadforums-c14916296224158c899ee1433faab5bc75ed2609.tar
forums-c14916296224158c899ee1433faab5bc75ed2609.tar.gz
forums-c14916296224158c899ee1433faab5bc75ed2609.tar.bz2
forums-c14916296224158c899ee1433faab5bc75ed2609.tar.xz
forums-c14916296224158c899ee1433faab5bc75ed2609.zip
- check for username_clean collisions prior to conversion
git-svn-id: file:///svn/phpbb/trunk@7204 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/convertors/convert_phpbb20.php')
-rw-r--r--phpBB/install/convertors/convert_phpbb20.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/install/convertors/convert_phpbb20.php b/phpBB/install/convertors/convert_phpbb20.php
index 132c4fedb4..ef460e3c17 100644
--- a/phpBB/install/convertors/convert_phpbb20.php
+++ b/phpBB/install/convertors/convert_phpbb20.php
@@ -306,7 +306,11 @@ if (!$get_info)
// Instead every file gets copied while processing the corresponding attachment entry.
// if (defined("MOD_ATTACHMENT")) { import_attachment_files(); phpbb_copy_thumbnails(); }
+ // phpBB2 allowed some similar usernames to coexist which would have the same
+ // username_clean in phpBB3 which is not possible, so we'll give the admin a list
+ // of user ids and usernames and let him deicde what he wants to do with them
'execute_first' => '
+ phpbb_check_username_collisions();
import_avatar_gallery();
if (defined("MOD_ATTACHMENT")) phpbb_import_attach_config();
phpbb_insert_forums();