mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
blah
git-svn-id: file:///svn/phpbb/trunk@6743 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
7eff1949ca
commit
9b03d2a67e
1 changed files with 1 additions and 5 deletions
|
@ -143,7 +143,7 @@ function user_add($user_row, $cp_data = false)
|
|||
'username' => $user_row['username'],
|
||||
'username_clean' => utf8_clean_string($user_row['username']),
|
||||
'user_password' => (isset($user_row['user_password'])) ? $user_row['user_password'] : '',
|
||||
//'user_pass_convert' => 0,
|
||||
'user_pass_convert' => 0,
|
||||
'user_email' => strtolower($user_row['user_email']),
|
||||
'user_email_hash' => (int) crc32(strtolower($user_row['user_email'])) . strlen($user_row['user_email']),
|
||||
'group_id' => $user_row['group_id'],
|
||||
|
@ -2128,10 +2128,6 @@ function group_set_user_default($group_id, $user_id_ary, $group_attributes = fal
|
|||
WHERE " . $db->sql_in_set('topic_last_poster_id', $user_id_ary);
|
||||
$db->sql_query($sql);
|
||||
|
||||
$sql = 'UPDATE ' . TOPICS_TABLE . " SET topic_last_poster_colour = '" . $db->sql_escape($sql_ary['user_colour']) . "'
|
||||
WHERE " . $db->sql_in_set('topic_last_poster_id', $user_id_ary);
|
||||
$db->sql_query($sql);
|
||||
|
||||
if ($new_user || in_array($config['newest_user_id'], $user_id_ary))
|
||||
{
|
||||
set_config('newest_user_colour', $sql_ary['user_colour'], true);
|
||||
|
|
Loading…
Add table
Reference in a new issue