From aba5b48202006484e8601cbecd581151e83ead07 Mon Sep 17 00:00:00 2001 From: epriestley Date: Sat, 24 Dec 2011 09:12:01 -0800 Subject: [PATCH] Minor: cosmetic fix to always use the small 50x50 picture in the new profile layout. --- .../profile/PhabricatorPeopleProfileController.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/applications/people/controller/profile/PhabricatorPeopleProfileController.php b/src/applications/people/controller/profile/PhabricatorPeopleProfileController.php index bc45f37c0a..eb7a40fc91 100644 --- a/src/applications/people/controller/profile/PhabricatorPeopleProfileController.php +++ b/src/applications/people/controller/profile/PhabricatorPeopleProfileController.php @@ -114,10 +114,7 @@ class PhabricatorPeopleProfileController extends PhabricatorPeopleController { throw new Exception("Unknown page '{$this->page}'!"); } - $src_phid = $profile->getProfileImagePHID(); - if (!$src_phid) { - $src_phid = $user->getProfileImagePHID(); - } + $src_phid = $user->getProfileImagePHID(); $picture = PhabricatorFileURI::getViewURIForPHID($src_phid); $header = new PhabricatorProfileHeaderView();