X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=c18de1bd3dc46ea26db8c113ca225afd25629946;hb=0bb169b4edc09a99d14fa9105412c114b1bcc6f6;hp=81030842dcdf4dc220d05518e51a6fe2b157600f;hpb=dc4b6ba55996ff2dee23f329502ff41a9d651962;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index 81030842dc..c18de1bd3d 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -1,122 +1,58 @@ . + * */ 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) -{ - if (! local_user()) { - return; - } - - if (x($_GET,'ignore') && intval($_GET['ignore'])) { - // Check if we should do HTML-based delete confirmation - if ($_REQUEST['confirm']) { - //