X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdfrn_notify.php;h=1a9f98fa33103f8f411a9ebd6d12dca36bee812d;hb=b55546b72649a645987e017397901a86122eba67;hp=745411a8ef89ec10f9f8263fda1db1a30f3355d0;hpb=854cc3e47296d4a1b01b893376064cf254d84f79;p=friendica.git diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index 745411a8ef..1a9f98fa33 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -29,7 +29,7 @@ function dfrn_notify_post(App $a) { $user = DBA::selectFirst('user', [], ['nickname' => $nick, 'account_expired' => false, 'account_removed' => false]); if (!DBA::isResult($user)) { - System::httpExit(500); + throw new \Friendica\Network\HTTPException\InternalServerErrorException(); } dfrn_dispatch_private($user, $postdata); } elseif (!dfrn_dispatch_public($postdata)) {