X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=5fb9bdcff782756524b90d5caa76675e31585cc7;hb=010ec99b35c2bee8f23060e96c2af3ba5849cf84;hp=7f1fe3386c139f297244f88f0ea45f2d23aba310;hpb=69a73678ebc18ad27b27f1bf92bc9433b7e7066f;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index 7f1fe3386c..5fb9bdcff7 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -1,15 +1,30 @@ . + * */ use Friendica\App; use Friendica\Content\ContactSelector; use Friendica\Content\Widget; -use Friendica\Core\L10n; use Friendica\Core\Renderer; -use Friendica\Core\System; use Friendica\Database\DBA; +use Friendica\DI; use Friendica\Model\Contact; use Friendica\Model\GContact; use Friendica\Util\Proxy as ProxyUtils; @@ -19,39 +34,16 @@ function suggest_init(App $a) if (! local_user()) { return; } +} - if (!empty($_GET['ignore'])) { - // Check if we should do HTML-based delete confirmation - if ($_REQUEST['confirm']) { - //