readonly support for polling
This commit is contained in:
parent
fa154248dc
commit
887a324956
|
@ -20,7 +20,7 @@ if($argc < 2)
|
||||||
|
|
||||||
$a->set_baseurl($argv[1]);
|
$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))
|
if(! count($contacts))
|
||||||
killme();
|
killme();
|
||||||
|
|
Loading…
Reference in a new issue