]> git.mxchange.org Git - friendica.git/blobdiff - mod/update_contacts.php
Move mod Contacts to /src/Module
[friendica.git] / mod / update_contacts.php
index 863542e66667eb5e0de64efb435b0f2494d0c529..1ad5cd4a3b13a40bb8827efc48ffc22c6e0ac1f2 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\Contacts;
 
 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 = Contacts::contacts_content($a, true);
        } else {
                $text = '';
        }