}
}
- function prepare($args)
+ function prepare(array $args = array())
{
parent::prepare($args);
$user = common_current_user();
if ($this->arg('public')) {
- $this->tags = $this->tagger->getLists(false, $offset, $limit);
+ $this->tags = $this->tagger->getLists(null, $offset, $limit);
} else if ($this->arg('private')) {
if (empty($user)) {
// TRANS: Error message displayed when trying to perform an action that requires a logged in user.
$this->clientError(_('You cannot view others\' private lists'), 403);
}
} else {
- $this->tags = $this->tagger->getLists(common_current_user(), $offset, $limit);
+ $this->tags = $this->tagger->getLists($this->scoped, $offset, $limit);
}
return true;
}
- function handle($args)
+ function handle()
{
- parent::handle($args);
+ parent::handle();
# Post from the tag dropdown; redirect to a GET