From ad6f23b105c897c6096500e789d198295a42e343 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 6 May 2019 20:53:22 +0000 Subject: [PATCH] Make 7113 really work - now the query does contain AP --- src/Worker/Cron.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Worker/Cron.php b/src/Worker/Cron.php index ed925bde9b..f7377a6e71 100644 --- a/src/Worker/Cron.php +++ b/src/Worker/Cron.php @@ -177,9 +177,10 @@ class Cron FROM `user` STRAIGHT_JOIN `contact` ON `contact`.`uid` = `user`.`uid` AND `contact`.`poll` != '' - AND `contact`.`network` IN ('%s', '%s', '%s', '%s', '%s') $sql_extra + AND `contact`.`network` IN ('%s', '%s', '%s', '%s', '%s', '%s') $sql_extra AND NOT `contact`.`self` AND NOT `contact`.`blocked` WHERE NOT `user`.`account_expired` AND NOT `user`.`account_removed` $abandon_sql", + DBA::escape(Protocol::ACTIVITYPUB), DBA::escape(Protocol::DFRN), DBA::escape(Protocol::OSTATUS), DBA::escape(Protocol::DIASPORA), -- 2.39.5