mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
A reworking of how we handle inactive users
git-svn-id: file:///svn/phpbb/trunk@6394 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -70,7 +70,7 @@ class ucp_activate
|
||||
include_once($phpbb_root_path . 'includes/functions_user.' . $phpEx);
|
||||
|
||||
// Now we need to demote the user from the inactive group and add him to the registered group
|
||||
user_active_flip($user_row['user_id'], $user_row['user_type'], '', $user_row['username'], true);
|
||||
user_active_flip($user_row['user_id'], $user_row['user_type'], '', $user_row['username'], 0, true);
|
||||
|
||||
// Update last username
|
||||
update_last_username();
|
||||
|
Reference in New Issue
Block a user