]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/defaultprofileblock.php
Merge commit 'refs/merge-requests/41' of https://gitorious.org/social/mainline into...
[quix0rs-gnu-social.git] / lib / defaultprofileblock.php
index 78c7c4a118ff7385bc96b5d3d27418fac2a08aa5..8a7d9ef6cf9bfc39381c7dff31a1e92405ab0cb1 100644 (file)
@@ -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
+}