mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/prune-users] Replaced missed occurrences of $user_id with $user_ids.
PHPBB3-9622
This commit is contained in:
parent
44f524aa50
commit
0f17d5d493
1 changed files with 2 additions and 2 deletions
|
@ -587,7 +587,7 @@ function user_delete($mode, $user_ids, $retain_username = true)
|
|||
}
|
||||
|
||||
$sql = 'DELETE FROM ' . PRIVMSGS_TO_TABLE . '
|
||||
WHERE ' . $db->sql_in_set('author_id', $user_id) . '
|
||||
WHERE ' . $db->sql_in_set('author_id', $user_ids) . '
|
||||
AND folder_id = ' . PRIVMSGS_NO_BOX;
|
||||
$db->sql_query($sql);
|
||||
|
||||
|
@ -604,7 +604,7 @@ function user_delete($mode, $user_ids, $retain_username = true)
|
|||
|
||||
$sql = 'UPDATE ' . PRIVMSGS_TABLE . '
|
||||
SET author_id = ' . ANONYMOUS . '
|
||||
WHERE ' . $db->sql_in_set('author_id', $user_id);
|
||||
WHERE ' . $db->sql_in_set('author_id', $user_ids);
|
||||
$db->sql_query($sql);
|
||||
|
||||
foreach ($undelivered_user as $_user_id => $ary)
|
||||
|
|
Loading…
Add table
Reference in a new issue