X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fgrouprss.php;h=de76a59600dbb67d409c44bf434784b3d62e04f0;hb=da532bae9131b6dec8f5c0d67ce77c4ad1736f7d;hp=1a7b858b1ee0da247f620252597d2abb1a67ae81;hpb=89a668344fc2ef07f1f86ee98bb8e10852212123;p=quix0rs-gnu-social.git diff --git a/actions/grouprss.php b/actions/grouprss.php index 1a7b858b1e..de76a59600 100644 --- a/actions/grouprss.php +++ b/actions/grouprss.php @@ -111,13 +111,13 @@ class groupRssAction extends Rss10Action { $group = $this->group; - + if (is_null($group)) { return null; } - + $notice = $group->getNotices(0, ($limit == 0) ? NOTICES_PER_PAGE : $limit); - + while ($notice->fetch()) { $notices[] = clone($notice); } @@ -141,13 +141,4 @@ class groupRssAction extends Rss10Action { return $this->group->homepage_logo; } - - # override parent to add X-SUP-ID URL - - function initRss($limit=0) - { - $url = common_local_url('sup', null, $this->group->id); - header('X-SUP-ID: '.$url); - parent::initRss($limit); - } }