X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FMergeContact.php;h=e04dfb6ac880afdde105767f4a850445912e7882;hb=bf8fb215a9cc554b5ec5b774168a52fb56fa43e6;hp=6fdb0140bc04f157e36feff15ef2a8f3e4071ada;hpb=6abe7692e5746cec04a2802024ffaf82064e4da0;p=friendica.git diff --git a/src/Worker/MergeContact.php b/src/Worker/MergeContact.php index 6fdb0140bc..e04dfb6ac8 100644 --- a/src/Worker/MergeContact.php +++ b/src/Worker/MergeContact.php @@ -52,8 +52,10 @@ class MergeContact // These fields only contain public contact entries (uid = 0) if ($uid == 0) { DBA::update('post-tag', ['cid' => $new_cid], ['cid' => $old_cid]); + DBA::delete('post-tag', ['cid' => $old_cid]); DBA::update('item', ['author-id' => $new_cid], ['author-id' => $old_cid]); DBA::update('item', ['owner-id' => $new_cid], ['owner-id' => $old_cid]); + DBA::update('item', ['causer-id' => $new_cid], ['causer-id' => $old_cid]); DBA::update('thread', ['author-id' => $new_cid], ['author-id' => $old_cid]); DBA::update('thread', ['owner-id' => $new_cid], ['owner-id' => $old_cid]); } else {