Remove App->error

This commit is contained in:
Hypolite Petovan
2019-05-01 21:17:03 -04:00
parent 9b91b0550d
commit 7b1ea6cad6
5 changed files with 1 additions and 13 deletions

View File

@@ -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;
}