]> git.mxchange.org Git - friendica.git/blobdiff - include/poller.php
The CSS code for shared messages is moved from "vier" to the global.css, so that...
[friendica.git] / include / poller.php
index 9ba9c782b7865e54b772923234641978845bd436..084067b190059c3c6f0290b2476811b1f2c87d82 100644 (file)
@@ -89,6 +89,9 @@ function poller_run(&$argv, &$argc){
        // 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');
@@ -171,7 +174,7 @@ function poller_run(&$argv, &$argc){
                : '' 
        );
 
-       $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', '%s' )
                $sql_extra