. */ if (!defined('LACONICA')) { exit(1); } class UserbyidAction extends Action { function handle($args) { parent::handle($args); $id = $this->trimmed('id'); if (!$id) { $this->client_error(_t('No id.')); } $user =& User::staticGet($id); if (!$id) { $this->client_error(_t('No such user.')); } $url=common_local_url('showstream', array('nickname' => $user->nickname)); common_redirect($url, 303); } }