mirror of
https://github.com/v2board/v2board.git
synced 2025-06-16 06:37:53 +08:00
update: reset by next year
This commit is contained in:
@ -99,7 +99,7 @@ class ResetTraffic extends Command
|
||||
|
||||
private function resetByYear($builder):void
|
||||
{
|
||||
if ((string)date('d') === '01' && (string)date('m') === '01') {
|
||||
if ((string)date('md') === '0101') {
|
||||
$builder->update([
|
||||
'u' => 0,
|
||||
'd' => 0
|
||||
|
Reference in New Issue
Block a user