diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-28 01:29:45 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-28 01:29:45 -0700 |
commit | 887a3249562d9c1c44518078df671c06a7819b1c (patch) | |
tree | 45e04f19847f0375275c178aaf47c5882fdeb22b /include/poller.php | |
parent | fa154248dcd62677544aa9ac7d82ddcd3df92f6e (diff) | |
download | volse-hubzilla-887a3249562d9c1c44518078df671c06a7819b1c.tar.gz volse-hubzilla-887a3249562d9c1c44518078df671c06a7819b1c.tar.bz2 volse-hubzilla-887a3249562d9c1c44518078df671c06a7819b1c.zip |
readonly support for polling
Diffstat (limited to 'include/poller.php')
-rw-r--r-- | include/poller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/poller.php b/include/poller.php index d1fc898d5..dad50ab9a 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(); |