mirror of
https://github.com/friendica/friendica
synced 2024-11-10 07:02:54 +00:00
readonly support for polling
This commit is contained in:
parent
fa154248dc
commit
887a324956
1 changed files with 1 additions and 1 deletions
|
@ -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