diff options
author | Zach Copley <zach@status.net> | 2009-10-09 17:32:53 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2009-10-09 17:32:53 -0700 |
commit | b08d16ef2bf5995ca2feee2d2688e0080eaf5124 (patch) | |
tree | ec4f7e232f8508c160ae3599f6ca880a731bd255 /actions/apitimelinefriends.php | |
parent | 57dfad64beae100187dcaf3c205645e89611e115 (diff) |
These same params are used in most API actions; moved to base API class
Diffstat (limited to 'actions/apitimelinefriends.php')
-rw-r--r-- | actions/apitimelinefriends.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/actions/apitimelinefriends.php b/actions/apitimelinefriends.php index 02e352569..544824078 100644 --- a/actions/apitimelinefriends.php +++ b/actions/apitimelinefriends.php @@ -46,13 +46,7 @@ require_once INSTALLDIR.'/lib/apibareauth.php'; class ApiTimelineFriendsAction extends ApiBareAuthAction { - - var $user = null; var $notices = null; - var $count = null; - var $max_id = null; - var $since_id = null; - var $since = null; /** * Take arguments for running @@ -67,12 +61,6 @@ class ApiTimelineFriendsAction extends ApiBareAuthAction { 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->user = $this->getTargetUser($this->arg('id')); if (empty($this->user)) { |