X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=dd24fc0a2a3a01a120557f7bf659d638c30440cf;hb=d8a8fa9baae53b3d8e9bdb39d3f692f9a9d5b019;hp=73f5ffe4b218722247617cf42ab9dcbd9590b6c5;hpb=abff6372ddd09be7750b5f1af5a1f889cfeb9635;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']) { //