]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/subscriptionlist.php
common_sql_now() is recommended before DB_DataObject_Cast::dateTime()
[quix0rs-gnu-social.git] / lib / subscriptionlist.php
index 3ca4603948004536195bca3e04d828dc68df743d..36dcbf65f81227681a22ae875a9b9a4b8080c946 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-
 /**
  * StatusNet, the distributed open-source microblogging tool
  *
@@ -44,7 +43,6 @@ require_once INSTALLDIR.'/lib/profilelist.php';
  * @license  http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
  * @link     http://status.net/
  */
-
 class SubscriptionList extends ProfileList
 {
     /** Owner of this list */
@@ -93,34 +91,4 @@ class SubscriptionListItem extends ProfileListItem
         $user = common_current_user();
         return (!empty($user) && ($this->owner->id == $user->id));
     }
-
-    function showTags()
-    {
-        $tags = Profile_tag::getTags($this->owner->id, $this->profile->id);
-
-        if ($this->isOwn()) {
-            $this->out->element('a', array('href' => common_local_url('tagother',
-                                                                      array('id' => $this->profile->id))),
-                                _('Tags'));
-        } else {
-            $this->out->text(_('Tags'));
-        }
-        if ($tags) {
-            $this->out->elementStart('ul', 'tags xoxo entity_tags');
-            foreach ($tags as $tag) {
-                $this->out->elementStart('li');
-                // Avoid space by using raw output.
-                $pt = '<span class="mark_hash">#</span><a rel="tag" href="' .
-                  common_local_url($this->action->trimmed('action'),
-                                   array('nickname' => $this->owner->nickname,
-                                   'tag' => $tag)) .
-                  '">' . $tag . '</a>';
-                $this->out->raw($pt);
-                $this->out->elementEnd('li');
-            }
-            $this->out->elementEnd('ul');
-        } else {
-            $this->out->text(_('(None)'));
-        }
-    }
 }