X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=5fb9bdcff782756524b90d5caa76675e31585cc7;hb=7863406080bf4ea1ca73d6ffd49aac315b447b31;hp=8330250a7bb756b2aded74a9c3797c7c7ffb79e9;hpb=4d39164c1ee6de2b1a09c2a1a8a4c89531d47ee5;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index 8330250a7b..5fb9bdcff7 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -1,55 +1,49 @@ . + * */ use Friendica\App; use Friendica\Content\ContactSelector; use Friendica\Content\Widget; -use Friendica\Core\L10n; -use Friendica\Core\System; +use Friendica\Core\Renderer; use Friendica\Database\DBA; +use Friendica\DI; use Friendica\Model\Contact; use Friendica\Model\GContact; use Friendica\Util\Proxy as ProxyUtils; -function suggest_init(App $a) { +function suggest_init(App $a) +{ if (! local_user()) { return; } +} - if (x($_GET,'ignore') && intval($_GET['ignore'])) { - // Check if we should do HTML-based delete confirmation - if ($_REQUEST['confirm']) { - //