From: Hypolite Petovan Date: Tue, 25 Dec 2018 04:14:09 +0000 (-0500) Subject: Remove unused template variable in dfrn_req_confirm X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4285f2f8bb7114bc78701ec0eec1a50d86cd0916;p=friendica.git Remove unused template variable in dfrn_req_confirm - Replace killme() by exit() in mod/dfrn_request --- diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index 16a2da5560..0e24accc01 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -512,8 +512,7 @@ function dfrn_request_content(App $a) dfrn_request_post($a); - killme(); - return; // NOTREACHED + exit(); } $tpl = Renderer::getMarkupTemplate("dfrn_req_confirm.tpl"); @@ -521,7 +520,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), diff --git a/view/templates/dfrn_req_confirm.tpl b/view/templates/dfrn_req_confirm.tpl index accfd4f83f..1c89ece9b7 100644 --- a/view/templates/dfrn_req_confirm.tpl +++ b/view/templates/dfrn_req_confirm.tpl @@ -13,7 +13,7 @@ {{$aes_allow}} - +