mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 20:40:24 +02:00
consistant obtain_* functions
git-svn-id: file:///svn/phpbb/trunk@6572 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1159,8 +1159,7 @@ function validate_username($username)
|
||||
}
|
||||
|
||||
|
||||
$bad_usernames = array();
|
||||
$cache->obtain_disallowed_usernames($bad_usernames);
|
||||
$bad_usernames = $cache->obtain_disallowed_usernames();
|
||||
|
||||
foreach ($bad_usernames as $bad_username)
|
||||
{
|
||||
|
Reference in New Issue
Block a user