Minor: cosmetic fix to always use the small 50x50 picture in the new profile layout.
This commit is contained in:
@@ -114,10 +114,7 @@ class PhabricatorPeopleProfileController extends PhabricatorPeopleController {
|
|||||||
throw new Exception("Unknown page '{$this->page}'!");
|
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);
|
$picture = PhabricatorFileURI::getViewURIForPHID($src_phid);
|
||||||
|
|
||||||
$header = new PhabricatorProfileHeaderView();
|
$header = new PhabricatorProfileHeaderView();
|
||||||
|
|||||||
Reference in New Issue
Block a user