X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FGContact.php;h=c413bef4fa9ebde5d1a5cf95aab08c663a6f1dd2;hb=0eafea86edd0acd4cc928332e0ef0e7dd18c3e03;hp=7a12f1a697881dab86781c709191f92f3b8dd585;hpb=4ad655ab80c5b610d0dc9f1497a63b829a696133;p=friendica.git diff --git a/src/Model/GContact.php b/src/Model/GContact.php index 7a12f1a697..c413bef4fa 100644 --- a/src/Model/GContact.php +++ b/src/Model/GContact.php @@ -239,7 +239,7 @@ class GContact if ($alternate && ($gcontact['network'] == NETWORK_OSTATUS)) { // Delete the old entry - if it exists - if (dba::exists('item', ['nurl' => normalise_link($orig_profile)])) { + if (dba::exists('gcontact', ['nurl' => normalise_link($orig_profile)])) { dba::delete('gcontact', ['nurl' => normalise_link($orig_profile)]); } }