]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Removed avatar from repeat of username (matches noticelist)
authorSarven Capadisli <csarven@status.net>
Thu, 28 Jan 2010 14:06:03 +0000 (15:06 +0100)
committerSarven Capadisli <csarven@status.net>
Thu, 28 Jan 2010 14:06:03 +0000 (15:06 +0100)
actions/showstream.php

index 90ff67073a1bd7d120cbcae560b010e9031d12bc..c529193860ff886d02b937514f9f8474b9b2af3b 100644 (file)
@@ -291,23 +291,6 @@ class ProfileNoticeListItem extends NoticeListItem
 
             $this->out->elementStart('span', 'repeat');
 
-            $this->out->elementStart('a', $attrs);
-
-            $avatar = $this->profile->getAvatar(AVATAR_MINI_SIZE);
-
-            $this->out->element('img', array('src' => ($avatar) ?
-                                             $avatar->displayUrl() :
-                                             Avatar::defaultImage(AVATAR_MINI_SIZE),
-                                             'class' => 'avatar photo',
-                                             'width' => AVATAR_MINI_SIZE,
-                                             'height' => AVATAR_MINI_SIZE,
-                                             'alt' =>
-                                             ($this->profile->fullname) ?
-                                             $this->profile->fullname :
-                                             $this->profile->nickname));
-
-            $this->out->elementEnd('a');
-
             $text_link = XMLStringer::estring('a', $attrs, $this->profile->nickname);
 
             $this->out->raw(sprintf(_('Repeat of %s'), $text_link));