mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-16 05:50:55 +08:00
add donate until
This commit is contained in:
@@ -1013,7 +1013,7 @@ class TrackerRepository extends BaseRepository
|
||||
if ($user->class >= \App\Models\HitAndRun::MINIMUM_IGNORE_USER_CLASS) {
|
||||
return;
|
||||
}
|
||||
if ($user->donoruntil && $user->donoruntil->gte($now)) {
|
||||
if ($user->isDonating()) {
|
||||
return;
|
||||
}
|
||||
$hrMode = Setting::get('hr.mode');
|
||||
|
||||
Reference in New Issue
Block a user