]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/GContact.php
OpenId possibly fixed:
[friendica.git] / src / Model / GContact.php
index 7a12f1a697881dab86781c709191f92f3b8dd585..c413bef4fa9ebde5d1a5cf95aab08c663a6f1dd2 100644 (file)
@@ -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)]);
                                }
                        }