diff --git a/src/app/Console/Commands/Policy/Greylist/ExpungeCommand.php b/src/app/Console/Commands/Policy/Greylist/ExpungeCommand.php index d2c13dad..28b95a57 100644 --- a/src/app/Console/Commands/Policy/Greylist/ExpungeCommand.php +++ b/src/app/Console/Commands/Policy/Greylist/ExpungeCommand.php @@ -1,36 +1,36 @@ subMonthsWithoutOverflow(6)) + \App\Policy\Greylist\Connect::where('updated_at', '<', \Carbon\Carbon::now()->subMonthsWithoutOverflow(2)) ->delete(); - \App\Policy\Greylist\Whitelist::where('updated_at', '<', \Carbon\Carbon::now()->subMonthsWithoutOverflow(6)) + \App\Policy\Greylist\Whitelist::where('updated_at', '<', \Carbon\Carbon::now()->subMonthsWithoutOverflow(2)) ->delete(); } }