]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Worker/Cron.php
Refactor files related to the Compose page and frio theme settings
[friendica.git] / src / Core / Worker / Cron.php
index 2accbea1ce3057431ff7c3ce0fd9d5f5d7ed87fe..0f2c4b41e7157e24e926f909a1517f4e83b40a92 100644 (file)
@@ -193,7 +193,7 @@ class Cron
         */
        private static function addIntros()
        {
-               $contacts = DBA::p("SELECT `uid`, `id`, `created` FROM `contact` WHERE `rel` = ? AND `pending` AND NOT EXISTS (SELECT `id` FROM `intro` WHERE `contact-id` = `contact`.`id`)", Contact::FOLLOWER);
+               $contacts = DBA::p("SELECT `uid`, `id`, `created` FROM `contact` WHERE `rel` = ? AND `pending` AND NOT `id` IN (SELECT `contact-id` FROM `intro`)", Contact::FOLLOWER);
                while ($contact = DBA::fetch($contacts)) {
                        $fields = [
                                'uid'        => $contact['uid'],