Avoid lock problems, fix foreign key problems with contact-relation
This commit is contained in:
parent
c8b97a6fe5
commit
a1e2794c64
3 changed files with 63 additions and 53 deletions
|
@ -71,7 +71,6 @@ class MergeContact
|
|||
if (DBStructure::existsTable('thread')) {
|
||||
DBA::update('thread', ['author-id' => $new_cid], ['author-id' => $old_cid]);
|
||||
DBA::update('thread', ['owner-id' => $new_cid], ['owner-id' => $old_cid]);
|
||||
DBA::update('thread', ['causer-id' => $new_cid], ['causer-id' => $old_cid]);
|
||||
}
|
||||
} else {
|
||||
/// @todo Check if some other data needs to be adjusted as well, possibly the "rel" status?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue