mirror of
https://github.com/friendica/friendica
synced 2024-10-11 11:24:33 +02:00
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]);
|
||||
|
||||
$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();
|
||||
|
|
Loading…
Reference in a new issue