mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-07 08:05:25 +02:00
I should have sent this in a while ago O_O
git-svn-id: file:///svn/phpbb/trunk@7300 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
7915732d9a
commit
4f5cf86db9
@ -2545,7 +2545,7 @@ function update_foes($group_id = false, $user_id = false)
|
||||
{
|
||||
case 'mysqli':
|
||||
case 'mysql4':
|
||||
$sql = 'DELETE z.*
|
||||
$sql = 'DELETE ' . ($db->sql_layer === 'mysqli' || version_compare($db->mysql_version, '4.1', '>=')) ? ZEBRA_TABLE : 'z.*' . '
|
||||
FROM ' . ZEBRA_TABLE . ' z, ' . USER_GROUP_TABLE . ' ug
|
||||
WHERE z.zebra_id = ug.user_id
|
||||
AND z.foe = 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user