summaryrefslogtreecommitdiff
path: root/actions/apitimelinegroup.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apitimelinegroup.php')
-rw-r--r--actions/apitimelinegroup.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/actions/apitimelinegroup.php b/actions/apitimelinegroup.php
index c4f8cbc65..da816c40a 100644
--- a/actions/apitimelinegroup.php
+++ b/actions/apitimelinegroup.php
@@ -107,13 +107,7 @@ class ApiTimelineGroupAction extends ApiPrivateAuthAction
// We'll pull common formatting out of this for other formats
$atom = new AtomGroupNoticeFeed($this->group);
- // Calculate self link
- $id = $this->arg('id');
- $aargs = array('format' => $this->format);
- if (!empty($id)) {
- $aargs['id'] = $id;
- }
- $self = $this->getSelfUri('ApiTimelineGroup', $aargs);
+ $self = $this->getSelfUri();
switch($this->format) {
case 'xml':