X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fdefaultprofileblock.php;h=8a7d9ef6cf9bfc39381c7dff31a1e92405ab0cb1;hb=0a4eeb89dab241779147c8c02a8f5f0f83533309;hp=78c7c4a118ff7385bc96b5d3d27418fac2a08aa5;hpb=2a70ed27e71e2e6e88359c88229d9c9ac5bb91a0;p=quix0rs-gnu-social.git diff --git a/lib/defaultprofileblock.php b/lib/defaultprofileblock.php index 78c7c4a118..8a7d9ef6cf 100644 --- a/lib/defaultprofileblock.php +++ b/lib/defaultprofileblock.php @@ -56,22 +56,6 @@ class DefaultProfileBlock extends AccountProfileBlock parent::__construct($out, $user->getProfile()); } - function avatarSize() - { - return AVATAR_STREAM_SIZE; - } - - function avatar() - { - $avatar = $this->profile->getAvatar(AVATAR_STREAM_SIZE); - if (empty($avatar)) { - $avatar = $this->profile->getAvatar(73); - } - return (!empty($avatar)) ? - $avatar->displayUrl() : - Avatar::defaultImage(AVATAR_STREAM_SIZE); - } - function location() { return null; @@ -91,4 +75,4 @@ class DefaultProfileBlock extends AccountProfileBlock { return array(); } -} \ No newline at end of file +}