mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update: reset day
This commit is contained in:
parent
896d9eb030
commit
254fdf6049
@ -165,7 +165,7 @@ class UserController extends Controller
|
||||
{
|
||||
if ($user->expired_at <= time() || $user->expired_at === NULL) return null;
|
||||
$day = date('d', $user->expired_at);
|
||||
$today = date('d', strtotime('-1 day'));
|
||||
$today = date('d');
|
||||
$lastDay = date('d', strtotime('last day of +0 months'));
|
||||
|
||||
if ((int)config('v2board.reset_traffic_method') === 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user