X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fsuggest.php;h=5fb9bdcff782756524b90d5caa76675e31585cc7;hb=6a23f51549e6b476d494dce4131a24f8ebcdba43;hp=ed9f6e0f2191ed8d40ca36ce725b5ce705ca2ec8;hpb=7d5494dd67f58e1fc63c6571946e26290092321c;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index ed9f6e0f21..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 (x($_GET,'ignore') && intval($_GET['ignore'])) { - // Check if we should do HTML-based delete confirmation - if ($_REQUEST['confirm']) { - //