]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/defaultprofileblock.php
Add urlshortenerplugin2.php to solve some @todo's and adding exceptions
[quix0rs-gnu-social.git] / lib / defaultprofileblock.php
index 18a32a09516c1aea99e3fbb70c0962be37509b8f..f451aa01883dfc618426804ccc34e0773b4d7e6b 100644 (file)
@@ -56,9 +56,14 @@ class DefaultProfileBlock extends AccountProfileBlock
         parent::__construct($out, $user->getProfile());
     }
 
-    function canEdit()
+    function avatarSize()
     {
-        return true;
+        return AVATAR_STREAM_SIZE;
+    }
+
+    function avatar()
+    {
+        return $this->profile->avatarUrl(AVATAR_STREAM_SIZE);
     }
 
     function location()
@@ -75,4 +80,9 @@ class DefaultProfileBlock extends AccountProfileBlock
     {
         return null;
     }
-}
\ No newline at end of file
+
+    function otherProfiles()
+    {
+        return array();
+    }
+}