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```.
* Condition implementation for the avatar of a user.
*
* @author Matthias Schmidt
- * @copyright 2001-2014 WoltLab GmbH
+ * @copyright 2001-2015 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage system.condition
public function checkUser(Condition $condition, User $user) {
switch ($condition->userAvatar) {
case self::NO_AVATAR:
- return !$user->avatar;
+ return !$user->avatarID && !$user->enableGravatar;
break;
case self::AVATAR:
- return $user->avatar != 0;
+ return $user->avatarID != 0;
break;
case self::GRAVATAR: