X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdfrn_poll.php;h=506f9f162f2159dc1cd8fc75229cff93d11f202c;hb=288ad37c3c93bcc3f5f3409be095dba57deab7f4;hp=a31a50ad254dbb21f011fa435b95c989a8368317;hpb=b6d11f21297331cda361ebadca3c1cf453027fdd;p=friendica.git diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php index a31a50ad25..506f9f162f 100644 --- a/mod/dfrn_poll.php +++ b/mod/dfrn_poll.php @@ -4,7 +4,7 @@ require_once('include/auth.php'); require_once('include/dfrn.php'); -function dfrn_poll_init(App &$a) { +function dfrn_poll_init(App $a) { $dfrn_id = ((x($_GET,'dfrn_id')) ? $_GET['dfrn_id'] : ''); @@ -163,7 +163,7 @@ function dfrn_poll_init(App &$a) { if($final_dfrn_id != $orig_id) { logger('profile_check: ' . $final_dfrn_id . ' != ' . $orig_id, LOGGER_DEBUG); - // did not decode properly - cannot trust this site + // did not decode properly - cannot trust this site xml_status(3, 'Bad decryption'); } @@ -203,7 +203,7 @@ function dfrn_poll_init(App &$a) { -function dfrn_poll_post(App &$a) { +function dfrn_poll_post(App $a) { $dfrn_id = ((x($_POST,'dfrn_id')) ? $_POST['dfrn_id'] : ''); $challenge = ((x($_POST,'challenge')) ? $_POST['challenge'] : ''); @@ -260,7 +260,7 @@ function dfrn_poll_post(App &$a) { if($final_dfrn_id != $orig_id) { logger('profile_check: ' . $final_dfrn_id . ' != ' . $orig_id, LOGGER_DEBUG); - // did not decode properly - cannot trust this site + // did not decode properly - cannot trust this site xml_status(3, 'Bad decryption'); } @@ -383,7 +383,7 @@ function dfrn_poll_post(App &$a) { } } -function dfrn_poll_content(App &$a) { +function dfrn_poll_content(App $a) { $dfrn_id = ((x($_GET,'dfrn_id')) ? $_GET['dfrn_id'] : ''); $type = ((x($_GET,'type')) ? $_GET['type'] : 'data');