From c0f3495045bcf97c553fa4f057a887df1c2dde32 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 16 Aug 2022 14:23:26 +0200 Subject: [PATCH] Remove outdated gravatar-related columns from sql query --- .../files/lib/system/condition/UserAvatarCondition.class.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/condition/UserAvatarCondition.class.php b/wcfsetup/install/files/lib/system/condition/UserAvatarCondition.class.php index 0566e26bd7..4f82cc2277 100644 --- a/wcfsetup/install/files/lib/system/condition/UserAvatarCondition.class.php +++ b/wcfsetup/install/files/lib/system/condition/UserAvatarCondition.class.php @@ -63,7 +63,6 @@ class UserAvatarCondition extends AbstractSelectCondition implements switch ($conditionData['userAvatar']) { case self::NO_AVATAR: $objectList->getConditionBuilder()->add('user_table.avatarID IS NULL'); - $objectList->getConditionBuilder()->add('user_table.enableGravatar = ?', [0]); break; case self::AVATAR: -- 2.20.1