Remove App->error
This commit is contained in:
parent
9b91b0550d
commit
7b1ea6cad6
5 changed files with 1 additions and 13 deletions
|
|
@ -16,7 +16,6 @@ function notice_init(App $a)
|
|||
$nick = $r[0]['nickname'];
|
||||
$a->internalRedirect('display/' . $nick . '/' . $id);
|
||||
} else {
|
||||
$a->error = 404;
|
||||
notice(L10n::t('Item not found.') . EOL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue