X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=c18de1bd3dc46ea26db8c113ca225afd25629946;hb=7cdd2d1336e768def2f9b2dc1d4026f8d9bb3804;hp=ed9f6e0f2191ed8d40ca36ce725b5ce705ca2ec8;hpb=8a46c786f37550160d81e7b7ecbcacb4c9fff493;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index ed9f6e0f21..c18de1bd3d 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -1,123 +1,58 @@ . + * */ 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; - -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']) { - //