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

@ -113,7 +113,6 @@ class Profile
if (!DBA::isResult($user) && empty($profiledata)) {
Logger::log('profile error: ' . $a->query_string, Logger::DEBUG);
notice(L10n::t('Requested account is not available.') . EOL);
$a->error = 404;
return;
}
@ -131,7 +130,6 @@ class Profile
if (empty($pdata) && empty($profiledata)) {
Logger::log('profile error: ' . $a->query_string, Logger::DEBUG);
notice(L10n::t('Requested profile is not available.') . EOL);
$a->error = 404;
return;
}