X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Fsuggest.php;h=81030842dcdf4dc220d05518e51a6fe2b157600f;hb=3b50e94a1abbd219357716d919acbc7ea132ba01;hp=f05c76cedae20573a43994f4836dc61b68713fc1;hpb=1a60401d69e7d340e135c258eb058e88419151e9;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index f05c76ceda..81030842dc 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -2,15 +2,19 @@ /** * @file mod/suggest.php */ + use Friendica\App; +use Friendica\Content\ContactSelector; +use Friendica\Content\Widget; +use Friendica\Core\L10n; use Friendica\Core\System; -use Friendica\Database\DBM; -use Friendica\Model\GlobalContact; -use Friendica\Object\Contact; - -require_once 'include/contact_widgets.php'; +use Friendica\Database\DBA; +use Friendica\Model\Contact; +use Friendica\Model\GContact; +use Friendica\Util\Proxy as ProxyUtils; -function suggest_init(App $a) { +function suggest_init(App $a) +{ if (! local_user()) { return; } @@ -21,103 +25,98 @@ function suggest_init(App $a) { //