diff --git a/src/Worker/Contact/RemoveContent.php b/src/Worker/Contact/RemoveContent.php index cc9139c2c8..0fc5db88f4 100644 --- a/src/Worker/Contact/RemoveContent.php +++ b/src/Worker/Contact/RemoveContent.php @@ -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]);