]> git.mxchange.org Git - friendica.git/blobdiff - mod/update_contacts.php
Using random_int directly
[friendica.git] / mod / update_contacts.php
index 863542e66667eb5e0de64efb435b0f2494d0c529..1144ed1427128fe1c3214c769361ac8abbc75d3f 100644 (file)
@@ -5,8 +5,7 @@
 use Friendica\App;
 use Friendica\Core\L10n;
 use Friendica\Core\PConfig;
-
-require_once 'mod/contacts.php';
+use Friendica\Module\Contact;
 
 function update_contacts_content(App $a)
 {
@@ -15,7 +14,7 @@ function update_contacts_content(App $a)
        echo "<section>";
 
        if ($_GET["force"] == 1) {
-               $text = contacts_content($a, true);
+               $text = Contact::content($a, true);
        } else {
                $text = '';
        }