]> git.mxchange.org Git - friendica.git/blobdiff - mod/dirfind.php
Merge pull request #4036 from MrPetovan/task/3878-move-objects-to-model
[friendica.git] / mod / dirfind.php
index 52dbf7512e136341af75c2eb0fb7e058bfd30242..bef89a4794ce1f74b0bf7da01cdd3b74244a9792 100644 (file)
@@ -7,7 +7,7 @@ use Friendica\Core\Config;
 use Friendica\Core\System;
 use Friendica\Core\Worker;
 use Friendica\Model\Contact;
-use Friendica\Model\GlobalContact;
+use Friendica\Model\GContact;
 use Friendica\Network\Probe;
 use Friendica\Protocol\PortableContact;
 
@@ -82,7 +82,7 @@ function dirfind_content(App $a, $prefix = "") {
 
                        // Add the contact to the global contacts if it isn't already in our system
                        if (($contact["cid"] == 0) && ($contact["zid"] == 0) && ($contact["gid"] == 0)) {
-                               GlobalContact::update($user_data);
+                               GContact::update($user_data);
                        }
                } elseif ($local) {