mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/9687] Adjust queries to be compatible with postgres
PHPBB3-9687
This commit is contained in:
@@ -750,7 +750,7 @@ function user_delete($mode, $user_ids, $retain_username = true)
|
||||
|
||||
// Delete the user_id from the banlist
|
||||
$sql = 'DELETE FROM ' . BANS_TABLE . '
|
||||
WHERE ban_mode = \'user\' AND ' . $db->sql_in_set('ban_item', $user_ids);
|
||||
WHERE ban_mode = \'user\' AND ' . $db->sql_in_set('ban_userid', $user_ids);
|
||||
$db->sql_query($sql);
|
||||
|
||||
// Delete the user_id from the session table
|
||||
|
Reference in New Issue
Block a user