X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=dd24fc0a2a3a01a120557f7bf659d638c30440cf;hb=caad9f5214f9f8c94e487629007b0f33c1b2008d;hp=b73c2cd1b61eef34a248ff9e507d92b4182f419b;hpb=743f2e0391315d6945b5c53a4d08938ee85e6aed;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index b73c2cd1b6..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']) { //