mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update board_maintenance.php
This commit is contained in:
parent
cb84c0053f
commit
22da02de79
@ -10,8 +10,7 @@ sync('user_posts', 'all');
|
|||||||
sync_all_forums();
|
sync_all_forums();
|
||||||
|
|
||||||
// Чистка bb_poll_users
|
// Чистка bb_poll_users
|
||||||
$poll_max_days = (int) $bb_cfg['poll_max_days'];
|
if ($poll_max_days = (int) $bb_cfg['poll_max_days'])
|
||||||
if ($poll_max_days != 0)
|
|
||||||
{
|
{
|
||||||
$per_cycle = 20000;
|
$per_cycle = 20000;
|
||||||
$row = DB()->fetch_row("SELECT MIN(topic_id) AS start_id, MAX(topic_id) AS finish_id FROM ". BB_POLL_USERS);
|
$row = DB()->fetch_row("SELECT MIN(topic_id) AS start_id, MAX(topic_id) AS finish_id FROM ". BB_POLL_USERS);
|
||||||
|
Loading…
Reference in New Issue
Block a user