// Check OStatus conversations
check_conversations();
+ // To-Do: Regenerate usage statistics
+ // q("ANALYZE TABLE `item`");
+
// once daily run birthday_updates and then expire in background
$d1 = get_config('system','last_expire_day');
: ''
);
- $contacts = q("SELECT `contact`.`id` FROM `contact` LEFT JOIN `user` ON `user`.`uid` = `contact`.`uid`
+ $contacts = q("SELECT `contact`.`id` FROM `contact` INNER JOIN `user` ON `user`.`uid` = `contact`.`uid`
WHERE ( `rel` = %d OR `rel` = %d ) AND `poll` != ''
- AND NOT `network` IN ( '%s', '%s' )
+ AND NOT `network` IN ( '%s', '%s', '%s' )
$sql_extra
AND `self` = 0 AND `contact`.`blocked` = 0 AND `contact`.`readonly` = 0
AND `contact`.`archive` = 0
intval(CONTACT_IS_SHARING),
intval(CONTACT_IS_FRIEND),
dbesc(NETWORK_DIASPORA),
- dbesc(NETWORK_FACEBOOK)
+ dbesc(NETWORK_FACEBOOK),
+ dbesc(NETWORK_PUMPIO)
);
if(! count($contacts)) {