X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=dd24fc0a2a3a01a120557f7bf659d638c30440cf;hb=caad9f5214f9f8c94e487629007b0f33c1b2008d;hp=8f4315a84146ad4446b2fa0c3d28eab191086aa0;hpb=d4c3dcf2fccefcb2c79881be09fd3b1c73dc611a;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index 8f4315a841..dd24fc0a2a 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -3,20 +3,20 @@ require_once('include/socgraph.php'); require_once('include/contact_widgets.php'); - -function suggest_init(&$a) { - if(! local_user()) +function suggest_init(App $a) { + if (! local_user()) { return; + } - if(x($_GET,'ignore') && intval($_GET['ignore'])) { + if (x($_GET,'ignore') && intval($_GET['ignore'])) { // Check if we should do HTML-based delete confirmation - if($_REQUEST['confirm']) { + if ($_REQUEST['confirm']) { //