From 0a946587b567c32b267aad11cefc4656efb921b1 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 8 Dec 2017 06:15:06 +0000 Subject: [PATCH] Second bugfix to PR 4036 --- src/Model/Contact.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 3708603ba3..e790fd4843 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -12,7 +12,7 @@ use Friendica\Core\System; use Friendica\Core\Worker; use Friendica\Database\DBM; use Friendica\Network\Probe; -use Friendica\Object\Image; +use Friendica\Model\Photo; use Friendica\Protocol\Diaspora; use Friendica\Protocol\DFRN; use Friendica\Protocol\OStatus; @@ -921,7 +921,7 @@ class Contact extends BaseObject } if (($r["avatar"] != $avatar) || $force) { - $photos = Image::importProfilePhoto($avatar, $uid, $cid, true); + $photos = Photo::importProfilePhoto($avatar, $uid, $cid, true); if ($photos) { dba::update( -- 2.39.5