aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-28 01:29:45 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-28 01:29:45 -0700
commit887a3249562d9c1c44518078df671c06a7819b1c (patch)
tree45e04f19847f0375275c178aaf47c5882fdeb22b /include
parentfa154248dcd62677544aa9ac7d82ddcd3df92f6e (diff)
downloadvolse-hubzilla-887a3249562d9c1c44518078df671c06a7819b1c.tar.gz
volse-hubzilla-887a3249562d9c1c44518078df671c06a7819b1c.tar.bz2
volse-hubzilla-887a3249562d9c1c44518078df671c06a7819b1c.zip
readonly support for polling
Diffstat (limited to 'include')
-rw-r--r--include/poller.php2
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();