if (empty($this->profile)) {
// TRANS: Server error displayed trying to show a notice without a connected profile.
$this->serverError(_('Notice has no profile.'), 500);
- return false;
}
$this->user = User::getKV('id', $this->profile->id);
}
if ($target && $target != $this->selfUrl()) {
common_redirect($target, 301);
- return false;
}
}
$this->showPage();