mirror of
https://github.com/friendica/friendica
synced 2025-04-30 07:44:22 +02:00
Remove App->error
This commit is contained in:
parent
9b91b0550d
commit
7b1ea6cad6
5 changed files with 1 additions and 13 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue