1
1
Fork 0

Split contact-relation deletion

This commit is contained in:
Philipp Holzer 2021-10-19 22:35:57 +02:00
parent 2958726804
commit 88825c2520
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432

View file

@ -76,7 +76,8 @@ class RemoveContent
Photo::delete(['contact-id' => $id]);
DBA::delete('contact-relation', ['`contact-id` = ? OR `cid` = ?', $id, $id]);
DBA::delete('contact-relation', ['contact-id' => $id]);
DBA::delete('contact-relation', ['cid' => $id]);
DBA::delete('event', ['cid' => $id]);
DBA::delete('fsuggest', ['cid' => $id]);
DBA::delete('post-tag', ['cid' => $id]);