]> git.mxchange.org Git - friendica.git/blobdiff - mod/profiles.php
Remove include/oembed and mod/oembed
[friendica.git] / mod / profiles.php
index 7d8d0c3d144cb95bf80b6e299cfb707a3af2064f..893f0d51e34ba35cdd2e2271a93df29fffb383fc 100644 (file)
@@ -3,15 +3,15 @@
  * @file mod/profiles.php
  */
 use Friendica\App;
-use Friendica\Content\Features;
+use Friendica\Content\Feature;
 use Friendica\Core\Config;
 use Friendica\Core\PConfig;
 use Friendica\Core\System;
 use Friendica\Core\Worker;
 use Friendica\Database\DBM;
-use Friendica\Model\GlobalContact;
+use Friendica\Model\GContact;
+use Friendica\Model\Profile;
 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
-                       GlobalContact::updateForUser(local_user());
+                       GContact::updateForUser(local_user());
                }
        }
 }