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