mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Broken announcer fix, announcer debug removed.
This commit is contained in:
parent
78b8a38e73
commit
9aba4d0d59
11 changed files with 9 additions and 109 deletions
|
@ -65,8 +65,6 @@ define('XS_TAG_ENDIF', 8);
|
|||
define('XS_TAG_BEGINELSE', 11);
|
||||
|
||||
// Debug
|
||||
define('DBG_LOG', false); // enable forum debug (off on production)
|
||||
define('DBG_TRACKER', false); // enable tracker debug (off on production)
|
||||
define('COOKIE_DBG', 'bb_dbg'); // debug cookie name
|
||||
define('SQL_DEBUG', true); // enable forum sql & cache debug
|
||||
define('SQL_LOG_ERRORS', true); // all SQL_xxx options enabled only if SQL_DEBUG == TRUE
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue