Merge pull request #7067 from MrPetovan/task/remove-app-error

Remove App->error
This commit is contained in:
Philipp
2019-05-02 17:24:56 +02:00
committed by GitHub
19 changed files with 269 additions and 278 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;
}