Browse Source

Second bugfix to PR 4036

pull/4038/head
Michael 4 years ago
parent
commit
0a946587b5
  1. 4
      src/Model/Contact.php

4
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(

Loading…
Cancel
Save