From: Adam Magness Date: Tue, 9 Jan 2018 15:02:53 +0000 (-0500) Subject: update use X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b72cfaf828d23623e8ae388750bed9690c29278f;p=friendica.git update use update useings and self --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 7fe5c5e6d4..057a06a31d 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -7,6 +7,7 @@ namespace Friendica\Model; use Friendica\BaseObject; +use Friendica\Core\Config; use Friendica\Core\PConfig; use Friendica\Core\System; use Friendica\Core\Worker; @@ -1259,7 +1260,7 @@ class Contact extends BaseObject Group::addMember(User::getDefaultGroup($uid, $contact["network"]), $contact_id); // Update the avatar - Contact::updateAvatar($ret['photo'], $uid, $contact_id); + self::updateAvatar($ret['photo'], $uid, $contact_id); // pull feed and consume it, which should subscribe to the hub.