X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Fsuggest.php;h=dd24fc0a2a3a01a120557f7bf659d638c30440cf;hb=1a436264cd9b143f30f9ff3c0ee4b7e0234ebe7e;hp=73f5ffe4b218722247617cf42ab9dcbd9590b6c5;hpb=98b727029570b96febd0c5046b688cab1a9bb882;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index 73f5ffe4b2..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']) { //