]> git.mxchange.org Git - friendica.git/blobdiff - mod/profiles.php
Revert "Move Objects to Model"
[friendica.git] / mod / profiles.php
index 893f0d51e34ba35cdd2e2271a93df29fffb383fc..eca13bf10c087ce80028f0aa1b4b2eaef0db9240 100644 (file)
@@ -9,9 +9,9 @@ use Friendica\Core\PConfig;
 use Friendica\Core\System;
 use Friendica\Core\Worker;
 use Friendica\Database\DBM;
-use Friendica\Model\GContact;
-use Friendica\Model\Profile;
+use Friendica\Model\GlobalContact;
 use Friendica\Network\Probe;
+use Friendica\Object\Profile;
 
 function profiles_init(App $a) {
 
@@ -509,7 +509,7 @@ function profiles_post(App $a) {
                        Worker::add(PRIORITY_LOW, 'ProfileUpdate', local_user());
 
                        // Update the global contact for the user
-                       GContact::updateForUser(local_user());
+                       GlobalContact::updateForUser(local_user());
                }
        }
 }