X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=31f02fa4ce6640e04550a94d61237fe0a248359d;hb=6e2880c6799e5c98e41ea40e1bdbac7bfe6ae326;hp=f05c76cedae20573a43994f4836dc61b68713fc1;hpb=a21f6135fcd8f0bfdb49de38a5ab4954d1784503;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index f05c76ceda..31f02fa4ce 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -2,122 +2,123 @@ /** * @file mod/suggest.php */ -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\L10n; +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']) { - //