X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fdefaultprofileblock.php;h=8a7d9ef6cf9bfc39381c7dff31a1e92405ab0cb1;hb=367fc054dcf9cbcfb87fec987219d0810a1c8b9c;hp=78c7c4a118ff7385bc96b5d3d27418fac2a08aa5;hpb=330041e8bfd91f0b9ba3f11a957a6b1be93c631e;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 +}