X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FGContact.php;h=c413bef4fa9ebde5d1a5cf95aab08c663a6f1dd2;hb=6129eb1623f28e1afc585d2756f6ff4f5315e754;hp=7a12f1a697881dab86781c709191f92f3b8dd585;hpb=b6cb7c034f7bdd2ecd085332f44a78a2f1b45f8d;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)]); } }