X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fprofiles.php;h=893f0d51e34ba35cdd2e2271a93df29fffb383fc;hb=008c97c570ea62749a3f486b42c424365863d627;hp=eca13bf10c087ce80028f0aa1b4b2eaef0db9240;hpb=b1d16fbdf7db1ec67179ad3f3869af4d16e0a38d;p=friendica.git diff --git a/mod/profiles.php b/mod/profiles.php index eca13bf10c..893f0d51e3 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -9,9 +9,9 @@ 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()); } } }