]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Profile sized avatar in DefaultProfileBlock
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 5 Jun 2014 22:59:57 +0000 (00:59 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 5 Jun 2014 23:01:07 +0000 (01:01 +0200)
Don't know why it was overriding ProfileBlock...

lib/defaultprofileblock.php

index f451aa01883dfc618426804ccc34e0773b4d7e6b..8a7d9ef6cf9bfc39381c7dff31a1e92405ab0cb1 100644 (file)
@@ -56,16 +56,6 @@ class DefaultProfileBlock extends AccountProfileBlock
         parent::__construct($out, $user->getProfile());
     }
 
-    function avatarSize()
-    {
-        return AVATAR_STREAM_SIZE;
-    }
-
-    function avatar()
-    {
-        return $this->profile->avatarUrl(AVATAR_STREAM_SIZE);
-    }
-
     function location()
     {
         return null;