]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/showprofiletag.php
showAvatar functions deduplicated into Widget class
[quix0rs-gnu-social.git] / actions / showprofiletag.php
index 4524e4aa8c23a8e71482bbf826b7977fe21e0336..6b1bc5e5b5dd289b5dd75bb76d210f3dab536fd4 100644 (file)
@@ -359,6 +359,8 @@ class ShowprofiletagAction extends Action
 
 class Peopletag extends PeopletagListItem
 {
+    protected $avatarSize = AVATAR_PROFILE_SIZE;
+
     function showStart()
     {
         $mode = $this->peopletag->private ? 'private' : 'public';
@@ -370,9 +372,4 @@ class Peopletag extends PeopletagListItem
     {
         $this->out->elementEnd('div');
     }
-
-    function showAvatar()
-    {
-        parent::showAvatar(AVATAR_PROFILE_SIZE);
-    }
 }