]> git.mxchange.org Git - friendica.git/blobdiff - mod/nodeinfo.php
dfrn_request: added $blocked and $pending as variable to make code more understandable
[friendica.git] / mod / nodeinfo.php
index 0d132802941bd6ae593e78151a2ada15cd9cd7c3..40094ee6e3a24047c572d479af1624a97adcd9ac 100644 (file)
@@ -217,7 +217,6 @@ function nodeinfo_cron() {
                        set_config('nodeinfo','active_users_monthly', $active_users_monthly);
        }
 
-       //$posts = qu("SELECT COUNT(*) AS local_posts FROM `item` WHERE `wall` AND `uid` != 0 AND `id` = `parent` AND left(body, 6) != '[share'");
        $posts = qu("SELECT COUNT(*) AS `local_posts` FROM `item`
                        INNER JOIN `contact` ON `contact`.`id` = `item`.`contact-id`
                        WHERE `contact`.`self` and `item`.`id` = `item`.`parent` AND left(body, 6) != '[share' AND `item`.`network` IN ('%s', '%s', '%s')",