mirror of
https://github.com/friendica/friendica
synced 2025-04-30 07:44:22 +02:00
Merge pull request #7067 from MrPetovan/task/remove-app-error
Remove App->error
This commit is contained in:
commit
07cb887885
19 changed files with 269 additions and 278 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