Broken announcer fix, announcer debug removed.

This commit is contained in:
Yuriy Pikhtarev 2017-08-07 00:30:28 +03:00
commit 9aba4d0d59
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
11 changed files with 9 additions and 109 deletions

View file

@ -58,7 +58,7 @@ if ($bb_cfg['tracker']['update_dlstat']) {
topic_id, user_id, IF(releaser, $releaser, seeder), SUM(up_add), SUM(down_add), IF(releaser, SUM(up_add), 0), SUM(speed_up), SUM(speed_down)
FROM " . BB_BT_TRACKER . "
WHERE (up_add != 0 OR down_add != 0)
GROUP BY topic_id, user_id, releaser, seeder
GROUP BY topic_id, user_id
");
// Reset up/down additions in tracker