summaryrefslogtreecommitdiff
path: root/actions/apitimelinegroup.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-10-09 17:32:53 -0700
committerZach Copley <zach@status.net>2009-10-09 17:32:53 -0700
commitb08d16ef2bf5995ca2feee2d2688e0080eaf5124 (patch)
treeec4f7e232f8508c160ae3599f6ca880a731bd255 /actions/apitimelinegroup.php
parent57dfad64beae100187dcaf3c205645e89611e115 (diff)
These same params are used in most API actions; moved to base API class
Diffstat (limited to 'actions/apitimelinegroup.php')
-rw-r--r--actions/apitimelinegroup.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/actions/apitimelinegroup.php b/actions/apitimelinegroup.php
index abe7f0c5d..6f2043fb6 100644
--- a/actions/apitimelinegroup.php
+++ b/actions/apitimelinegroup.php
@@ -62,14 +62,7 @@ class ApiTimelineGroupAction extends ApiAction
{
parent::prepare($args);
- $this->page = (int)$this->arg('page', 1);
- $this->count = (int)$this->arg('count', 20);
- $this->max_id = (int)$this->arg('max_id', 0);
- $this->since_id = (int)$this->arg('since_id', 0);
- $this->since = $this->arg('since');
-
- $this->group = $this->getTargetGroup($this->arg('id'));
-
+ $this->group = $this->getTargetGroup($this->arg('id'));
$this->notices = $this->getNotices();
return true;