X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdfrn_request.php;h=9f0583711f703b71415b58e6485d38fc2e2ce799;hb=892a395eb79c0ec8ea6e44bebb5a3c6e3a373f4f;hp=16a2da55607cca309f96959d8134ceefa1658e29;hpb=5a3991d4f7bc929c1087d9275716fc1c8cc299a6;p=friendica.git diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index 16a2da5560..9f0583711f 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -30,8 +30,6 @@ use Friendica\Util\DateTimeFormat; use Friendica\Util\Network; use Friendica\Util\Strings; -require_once 'include/enotify.php'; - function dfrn_request_init(App $a) { if ($a->argc > 1) { @@ -512,8 +510,7 @@ function dfrn_request_content(App $a) dfrn_request_post($a); - killme(); - return; // NOTREACHED + exit(); } $tpl = Renderer::getMarkupTemplate("dfrn_req_confirm.tpl"); @@ -521,7 +518,6 @@ function dfrn_request_content(App $a) '$dfrn_url' => $dfrn_url, '$aes_allow' => (($aes_allow) ? '' : "" ), '$hidethem' => L10n::t('Hide this contact'), - '$hidechecked' => '', '$confirm_key' => $confirm_key, '$welcome' => L10n::t('Welcome home %s.', $a->user['username']), '$please' => L10n::t('Please confirm your introduction/connection request to %s.', $dfrn_url), @@ -636,10 +632,7 @@ function dfrn_request_content(App $a) $page_desc = L10n::t("Please enter your 'Identity Address' from one of the following supported communications networks:"); - $invite_desc = sprintf( - L10n::t('If you are not yet a member of the free social web, follow this link to find a public Friendica site and join us today.'), - get_server() . '/servers' - ); + $invite_desc = L10n::t('If you are not yet a member of the free social web, follow this link to find a public Friendica site and join us today.', get_server() . '/servers'); $o = Renderer::replaceMacros($tpl, [ '$header' => L10n::t('Friend/Connection Request'),