statistics: Network name and all posts #180

Merged
annando merged 2 commits from master into master 2014-02-02 22:22:40 +01:00
Showing only changes of commit 31cff782f8 - Show all commits

View file

@ -91,7 +91,7 @@ function statistics_json_cron($a,$b) {
set_config('statistics_json','active_users_monthly', $active_users_monthly);
}
$posts = q("SELECT COUNT(*) AS local_posts FROM `item` WHERE `wall`");
$posts = q("SELECT COUNT(*) AS local_posts FROM `item` WHERE `wall` left(body, 6) != '[share'");
if (!is_array($posts))
$local_posts = -1;