From: Evan Prodromou Date: Sat, 9 Apr 2011 20:30:52 +0000 (-0400) Subject: Revert "Add an indicator saying to whom a notice is addressed" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8aacc4b84af5154749f4b0758f41cb705350f704;p=quix0rs-gnu-social.git Revert "Add an indicator saying to whom a notice is addressed" This reverts commit 2c14185a527becaeda764e2e162fe8cd7e762597. --- diff --git a/lib/noticelistitem.php b/lib/noticelistitem.php index 74c51f4a2e..9c50966406 100644 --- a/lib/noticelistitem.php +++ b/lib/noticelistitem.php @@ -119,7 +119,6 @@ class NoticeListItem extends Widget { $this->out->elementStart('div', 'entry-title'); $this->showAuthor(); - $this->showAddressees(); $this->showContent(); $this->out->elementEnd('div'); } @@ -219,24 +218,6 @@ class NoticeListItem extends Widget $this->out->elementEnd('span'); } - function showAddressees() - { - $groups = $this->notice->getGroups(); - if (!empty($groups) && count($groups) > 0) { - $this->out->text('▶ '); - $first = true; - foreach ($groups as $group) { - if (!$first) { - $this->out->text(', '); - } else { - $first = false; - } - $this->out->element('a', array('href' => $group->homeUrl()), - $group->nickname); - } - } - } - /** * show the avatar of the notice's author *