summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-02-20 17:14:13 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-02-20 17:14:13 -0500
commit12636d9fb1c8d6bdcf27e068f3be2ad9c9636ee1 (patch)
treeedfced9177cf6ec6d7de19ce0926dd84a073a0c1
parent5845f19b051d440125f4921ad0a15184a993d287 (diff)
don't use SUP in group rss
-rw-r--r--actions/grouprss.php15
1 files changed, 3 insertions, 12 deletions
diff --git a/actions/grouprss.php b/actions/grouprss.php
index 1a7b858b1..de76a5960 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);
- }
}