From: Andreas F. <ba...@ph...> - 2009-09-04 12:04:45
|
Author: bantu Date: Fri Sep 4 13:04:30 2009 New Revision: 10099 Log: Also update newest user data if someone is creating a founder with user_add(). Modified: branches/phpBB-3_0_0/phpBB/includes/functions_user.php Modified: branches/phpBB-3_0_0/phpBB/includes/functions_user.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/includes/functions_user.php (original) --- branches/phpBB-3_0_0/phpBB/includes/functions_user.php Fri Sep 4 13:04:30 2009 *************** *** 308,314 **** } // set the newest user and adjust the user count if the user is a normal user and no activation mail is sent ! if ($user_row['user_type'] == USER_NORMAL) { set_config('newest_user_id', $user_id, true); set_config('newest_username', $user_row['username'], true); --- 308,314 ---- } // set the newest user and adjust the user count if the user is a normal user and no activation mail is sent ! if ($user_row['user_type'] == USER_NORMAL || $user_row['user_type'] == USER_FOUNDER) { set_config('newest_user_id', $user_id, true); set_config('newest_username', $user_row['username'], true); |