X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=5fb9bdcff782756524b90d5caa76675e31585cc7;hb=010ec99b35c2bee8f23060e96c2af3ba5849cf84;hp=a3da9a445e624e57549c02fa1cbe45dd29c41250;hpb=4fb2547df87825c136d3ee080bc6960f5c957c65;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index a3da9a445e..5fb9bdcff7 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -1,123 +1,139 @@ . + * */ + use Friendica\App; use Friendica\Content\ContactSelector; -use Friendica\Core\System; -use Friendica\Database\DBM; +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\Model\Profile; - -require_once 'include/contact_widgets.php'; +use Friendica\Util\Proxy as ProxyUtils; -function suggest_init(App $a) { +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']) { - //