From: Michael Date: Wed, 3 Jun 2020 10:33:54 +0000 (+0000) Subject: Removed unused parts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=117d0e73621b5b2062de041d176930455386ef8e;p=friendica.git Removed unused parts --- diff --git a/mod/redir.php b/mod/redir.php index f38b6f7c3c..4eb662ee3d 100644 --- a/mod/redir.php +++ b/mod/redir.php @@ -125,13 +125,10 @@ function redir_init(App $a) { System::externalRedirect($contact['poll'] . '?dfrn_id=' . $dfrn_id . '&dfrn_version=' . DFRN_PROTOCOL_VERSION . '&type=profile&sec=' . $sec . $dest . $quiet); - - redir_check_url($contact_url, $url); - $url = $url ?: $contact_url; } if (empty($url)) { - throw new \Friendica\Network\HTTPException\NotFoundException(DI::l10n()->t('Contact not found.')); + throw new \Friendica\Network\HTTPException\BadRequestException(DI::l10n()->t('Bad Request.')); } // If we don't have a connected contact, redirect with