make UserAvatarCondition::checkUser() work correctly
authorJoshua Rüsweg <josh@bastelstu.be>
Mon, 9 Feb 2015 19:06:20 +0000 (20:06 +0100)
committerJoshua Rüsweg <josh@bastelstu.be>
Mon, 9 Feb 2015 19:06:20 +0000 (20:06 +0100)
commitc44738a963f256b35b05cd0bde8e8e6ea0b17038
tree65b82851795b4015c77bb011e25f2cfaf255d0e9
parent86198cbd674f6e46fc36a9cc44f49ef6a33cd839
make UserAvatarCondition::checkUser() work correctly

atm the UserAvatarCondition is unusable, because it returns nonsense. The column ```avatar``` isn't provided by the database. And if the user has a gravatar the condition for NO_AVATAR returns ```true```, but actually the method should return ```false```.
wcfsetup/install/files/lib/system/condition/UserAvatarCondition.class.php