X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_contacts.php;h=33ba85055f30635963304a8950099d37f1251b6d;hb=93ab82b7f02e9ea1c8fc072e7b3891d0e9f0d617;hp=863542e66667eb5e0de64efb435b0f2494d0c529;hpb=8dc5b04be7cd9cb2eb77ed9824815efe27369bee;p=friendica.git diff --git a/mod/update_contacts.php b/mod/update_contacts.php index 863542e666..33ba85055f 100644 --- a/mod/update_contacts.php +++ b/mod/update_contacts.php @@ -5,8 +5,7 @@ use Friendica\App; use Friendica\Core\L10n; use Friendica\Core\PConfig; - -require_once 'mod/contacts.php'; +use Friendica\Module\Contacts; function update_contacts_content(App $a) { @@ -15,7 +14,7 @@ function update_contacts_content(App $a) echo "
"; if ($_GET["force"] == 1) { - $text = contacts_content($a, true); + $text = Contacts::content($a, true); } else { $text = ''; }