X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fdefaultprofileblock.php;h=8a7d9ef6cf9bfc39381c7dff31a1e92405ab0cb1;hb=3251ef3b518ef9db55fbab0693d8b0f654dcda58;hp=b8af14ac211b00f4e1967c093cff346d26c1d881;hpb=7cf12f093ed48849ec901038b4cfd44595343c06;p=quix0rs-gnu-social.git diff --git a/lib/defaultprofileblock.php b/lib/defaultprofileblock.php index b8af14ac21..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; @@ -86,4 +70,9 @@ class DefaultProfileBlock extends AccountProfileBlock { return null; } -} \ No newline at end of file + + function otherProfiles() + { + return array(); + } +}