Remove outdated gravatar-related columns from sql query
authorMarcel Werk <burntime@woltlab.com>
Tue, 16 Aug 2022 12:23:26 +0000 (14:23 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 16 Aug 2022 12:23:26 +0000 (14:23 +0200)
wcfsetup/install/files/lib/system/condition/UserAvatarCondition.class.php

index 0566e26bd79660625f4875b017cbeadaf7a93805..4f82cc22778aed8b1084bb514ae53e67336949e7 100644 (file)
@@ -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: