mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 19:24:01 +02:00
Better support for nested transactions...
git-svn-id: file:///svn/phpbb/trunk@7469 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1714,10 +1714,10 @@ function phpbb_check_username_collisions()
|
||||
break;
|
||||
}
|
||||
|
||||
$db->return_on_error = true;
|
||||
$db->sql_return_on_error(true);
|
||||
$db->sql_query($drop_sql);
|
||||
$db->sql_query($create_sql);
|
||||
$db->return_on_error = false;
|
||||
$db->sql_return_on_error(false);
|
||||
|
||||
// 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