From 75f04299614468bbac9a776adebe75f296f5c920 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 14 Apr 2011 13:06:23 -0400 Subject: [PATCH] Revert "Use gravatar as a fallback for missing files" This reverts commit 52493a9a2babd7e3655137e04f33df114e7dd5fd. --- plugins/Gravatar/GravatarPlugin.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/Gravatar/GravatarPlugin.php b/plugins/Gravatar/GravatarPlugin.php index 05af683a69..bdb73f3433 100644 --- a/plugins/Gravatar/GravatarPlugin.php +++ b/plugins/Gravatar/GravatarPlugin.php @@ -32,8 +32,7 @@ class GravatarPlugin extends Plugin { function onEndProfileGetAvatar($profile, $size, &$avatar) { - if (empty($avatar) || - (!empty($avatar->filename) && !file_exists(Avatar::path($avatar->filename)))) { + if (empty($avatar)) { $user = $profile->getUser(); if (!empty($user) && !empty($user->email)) { // Fake one! -- 2.39.5