X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fsuggest.php;h=4b67dd6eb8e7930b6d217c7dc46024d55707956f;hb=b2d685482928363ce86c3c0519c8ff39d0af43ca;hp=a3da9a445e624e57549c02fa1cbe45dd29c41250;hpb=cb612c712da10948266ad0b47a70f1e179ca4c90;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index a3da9a445e..4b67dd6eb8 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -2,122 +2,123 @@ /** * @file mod/suggest.php */ + 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\DBM; +use Friendica\Database\DBA; 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']) { - //