X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fsuggest.php;h=5fb9bdcff782756524b90d5caa76675e31585cc7;hb=afdb827bd7ed44a1c3028f287e101fa33e438332;hp=f05c76cedae20573a43994f4836dc61b68713fc1;hpb=7499824381b3cb4a90f0d126e3eaeb4b3b786cc4;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index f05c76ceda..5fb9bdcff7 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -1,123 +1,139 @@ . + * */ -use Friendica\App; -use Friendica\Core\System; -use Friendica\Database\DBM; -use Friendica\Model\GlobalContact; -use Friendica\Object\Contact; - -require_once 'include/contact_widgets.php'; -function suggest_init(App $a) { +use Friendica\App; +use Friendica\Content\ContactSelector; +use Friendica\Content\Widget; +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']) { - //