$id = intval($this->arg('id'));
if ($id) {
- $this->peopletag = Profile_list::staticGet('id', $id);
+ $this->peopletag = Profile_list::getKV('id', $id);
} else {
// TRANS: Client error displayed when trying to perform an action without providing an ID.
$this->clientError(_('No ID given.'), 404);
return false;
}
- $this->tagger = Profile::staticGet('id', $this->peopletag->tagger);
+ $this->tagger = Profile::getKV('id', $this->peopletag->tagger);
return true;
}
$lf = new UnsubscribePeopletagForm($this, $this->peopletag);
$lf->show();
$this->elementEnd('body');
- $this->elementEnd('html');
+ $this->endHTML();
} else {
common_redirect(common_local_url('peopletagsubscribers',
array('tagger' => $this->tagger->nickname,