]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/RemoveContact.php
Add suggestions
[friendica.git] / src / Worker / RemoveContact.php
index 44b33fbbd30fc575b9ce816b2838e2ec0b5dedc9..f64d4d02d537fd74c7a0c1cf3ceaa89d2c2daca4 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -55,6 +55,7 @@ class RemoveContact {
                }
 
                DBA::delete('mail', ['contact-id' => $id]);
+               DBA::delete('mail', ['author-id' => $id]);
 
                Post\ThreadUser::delete(['author-id' => $id]);
                Post\ThreadUser::delete(['owner-id' => $id]);