]> git.mxchange.org Git - friendica.git/commitdiff
Make 7113 really work - now the query does contain AP
authorMichael <heluecht@pirati.ca>
Mon, 6 May 2019 20:53:22 +0000 (20:53 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 6 May 2019 20:53:22 +0000 (20:53 +0000)
src/Worker/Cron.php

index ed925bde9b09a890d65c67e3e38319e4d5b80db4..f7377a6e7199f4eba5995015bbffdac4be4bb974 100644 (file)
@@ -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),