mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:50:12 +00:00
Improved vitality check for followers, feeds and OStatus contacts
This commit is contained in:
parent
f41c891a6b
commit
ad8c290c2b
2 changed files with 10 additions and 29 deletions
|
@ -157,13 +157,11 @@ Class Cron {
|
|||
`contact`.`last-update`, `contact`.`priority`, `contact`.`subhub`
|
||||
FROM `user`
|
||||
STRAIGHT_JOIN `contact`
|
||||
ON `contact`.`uid` = `user`.`uid` AND `contact`.`rel` IN (%d, %d) AND `contact`.`poll` != ''
|
||||
ON `contact`.`uid` = `user`.`uid` AND `contact`.`poll` != ''
|
||||
AND `contact`.`network` IN ('%s', '%s', '%s', '%s', '%s') $sql_extra
|
||||
AND NOT `contact`.`self` AND NOT `contact`.`blocked` AND NOT `contact`.`readonly`
|
||||
AND NOT `contact`.`archive`
|
||||
WHERE NOT `user`.`account_expired` AND NOT `user`.`account_removed` $abandon_sql",
|
||||
intval(CONTACT_IS_SHARING),
|
||||
intval(CONTACT_IS_FRIEND),
|
||||
dbesc(NETWORK_DFRN),
|
||||
dbesc(NETWORK_OSTATUS),
|
||||
dbesc(NETWORK_DIASPORA),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue