contact-relation - Fix DB error
This commit is contained in:
parent
ee5fb6238c
commit
b838b594cd
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class RemoveContent
|
|||
|
||||
Photo::delete(['contact-id' => $id]);
|
||||
|
||||
DBA::delete('contact-relation', ['contact-id = ? OR cid = ?', $id, $id]);
|
||||
DBA::delete('contact-relation', ['`contact-id` = ? OR `cid` = ?', $id, $id]);
|
||||
DBA::delete('event', ['cid' => $id]);
|
||||
DBA::delete('fsuggest', ['cid' => $id]);
|
||||
DBA::delete('post-tag', ['cid' => $id]);
|
||||
|
|
Loading…
Reference in a new issue