From b50a92cf7a854fd231b8400623ecad3ec5d7a669 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 9 Jul 2021 08:08:48 +0000 Subject: [PATCH] Contact tables added to expire function --- src/Worker/ExpirePosts.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Worker/ExpirePosts.php b/src/Worker/ExpirePosts.php index 55a07dd14..de650f667 100644 --- a/src/Worker/ExpirePosts.php +++ b/src/Worker/ExpirePosts.php @@ -185,6 +185,8 @@ class ExpirePosts AND NOT EXISTS(SELECT `uri-id` FROM `mail` WHERE `uri-id` = `item-uri`.`id`) AND NOT EXISTS(SELECT `uri-id` FROM `event` WHERE `uri-id` = `item-uri`.`id`) AND NOT EXISTS(SELECT `uri-id` FROM `contact` WHERE `uri-id` = `item-uri`.`id`) + AND NOT EXISTS(SELECT `uri-id` FROM `apcontact` WHERE `uri-id` = `item-uri`.`id`) + AND NOT EXISTS(SELECT `uri-id` FROM `fcontact` WHERE `uri-id` = `item-uri`.`id`) AND NOT EXISTS(SELECT `parent-uri-id` FROM `mail` WHERE `parent-uri-id` = `item-uri`.`id`) AND NOT EXISTS(SELECT `thr-parent-id` FROM `mail` WHERE `thr-parent-id` = `item-uri`.`id`)", $item['uri-id']]);