Browse Source

Split contact-relation deletion

pull/10901/head
Philipp 8 months ago
parent
commit
88825c2520
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432
  1. 3
      src/Worker/Contact/RemoveContent.php

3
src/Worker/Contact/RemoveContent.php

@ -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]);

Loading…
Cancel
Save