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