Merge pull request !57 from Hmily_LCG/fix—threadpartake
This commit is contained in:
commit
ce0a3d6146
|
@ -27,8 +27,8 @@ C::t('forum_postcache')->delete_by_dateline(TIMESTAMP-86400);
|
|||
C::t('forum_newthread')->delete_by_dateline(TIMESTAMP-1296000);
|
||||
C::t('common_seccheck')->truncate();
|
||||
|
||||
if($settingnew['heatthread']['type'] == 2 && $settingnew['heatthread']['period']) {
|
||||
$partakeperoid = 86400 * $settingnew['heatthread']['period'];
|
||||
if($_G['setting']['heatthread']['type'] == 2 && $_G['setting']['heatthread']['period']) {
|
||||
$partakeperoid = 86400 * $_G['setting']['heatthread']['period'];
|
||||
C::t('forum_threadpartake')->delete($_G[timestamp]-$partakeperoid);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue