mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
#12279 - Thanks to ToonArmy
git-svn-id: file:///svn/phpbb/trunk@7742 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1727,15 +1727,15 @@ function phpbb_check_username_collisions()
|
||||
case 'sqlite':
|
||||
$create_sql = 'CREATE TABLE ' . $table_prefix . 'userconv (
|
||||
user_id INTEGER NOT NULL DEFAULT \'0\',
|
||||
username_clean varchar(255) NOT NULL DEFAULT \'\',
|
||||
username_clean varchar(255) NOT NULL DEFAULT \'\'
|
||||
)';
|
||||
break;
|
||||
}
|
||||
|
||||
$db->sql_return_on_error(true);
|
||||
$db->sql_query($drop_sql);
|
||||
$db->sql_query($create_sql);
|
||||
$db->sql_return_on_error(false);
|
||||
$db->sql_query($create_sql);
|
||||
|
||||
// now select all user_ids and usernames and then convert the username (this can take quite a while!)
|
||||
$sql = 'SELECT user_id, username
|
||||
|
Reference in New Issue
Block a user