X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofiles.php;h=893f0d51e34ba35cdd2e2271a93df29fffb383fc;hb=0b5f7da270bcaa679cb684dbbbbe40781f0b49c6;hp=7d8d0c3d144cb95bf80b6e299cfb707a3af2064f;hpb=6e5471def3477e84473bc237e10c7c75c9e6e853;p=friendica.git diff --git a/mod/profiles.php b/mod/profiles.php index 7d8d0c3d14..893f0d51e3 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -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()); } } }