]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Profile.php
Replace System::httpExit() by HTTPException throwing
[friendica.git] / src / Model / Profile.php
index 79971cd9998e24045181d4249418220e00e11e68..13156a93285531786bcfad5488f93e153226b674 100644 (file)
@@ -112,8 +112,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;
                }
 
@@ -130,8 +128,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;
                }