]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Revert "Add an indicator saying to whom a notice is addressed"
authorEvan Prodromou <evan@status.net>
Sat, 9 Apr 2011 20:30:52 +0000 (16:30 -0400)
committerEvan Prodromou <evan@status.net>
Sat, 9 Apr 2011 20:30:52 +0000 (16:30 -0400)
This reverts commit 2c14185a527becaeda764e2e162fe8cd7e762597.

lib/noticelistitem.php

index 74c51f4a2ee9ac7b78e2725adf50315b93b3d51f..9c509664060523c1964f379dcdc8720c0f0cfa3b 100644 (file)
@@ -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
      *