don't use SUP in group rss

This commit is contained in:
Evan Prodromou 2009-02-20 17:14:13 -05:00
parent 5845f19b05
commit 12636d9fb1

View File

@ -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);
}
}