mirror of
https://github.com/friendica/friendica
synced 2025-09-07 04:08:15 +02:00
Remove App->error
This commit is contained in:
parent
9b91b0550d
commit
7b1ea6cad6
5 changed files with 1 additions and 13 deletions
|
@ -18,7 +18,6 @@ function hcard_init(App $a)
|
|||
$which = $a->argv[1];
|
||||
} else {
|
||||
notice(L10n::t('No profile') . EOL);
|
||||
$a->error = 404;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@ function viewsrc_content(App $a)
|
|||
$item_id = (($a->argc > 1) ? intval($a->argv[1]) : 0);
|
||||
|
||||
if (!$item_id) {
|
||||
$a->error = 404;
|
||||
notice(L10n::t('Item not found.') . EOL);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue