From: Mike Macgirvin Date: Wed, 28 Jul 2010 08:29:45 +0000 (-0700) Subject: readonly support for polling X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=887a3249562d9c1c44518078df671c06a7819b1c;p=friendica.git readonly support for polling --- diff --git a/include/poller.php b/include/poller.php index d1fc898d58..dad50ab9a3 100644 --- a/include/poller.php +++ b/include/poller.php @@ -20,7 +20,7 @@ if($argc < 2) $a->set_baseurl($argv[1]); - $contacts = q("SELECT * FROM `contact` WHERE `dfrn-id` != '' AND `self` = 0 ORDER BY RAND()"); + $contacts = q("SELECT * FROM `contact` WHERE `dfrn-id` != '' AND `self` = 0 AND `blocked` = 0 AND `readonly` = 0 ORDER BY RAND()"); if(! count($contacts)) killme();