Page MenuHomePhorge

No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None
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 @@
<?php
namespace App\Console\Commands\Policy\Greylist;
use Illuminate\Console\Command;
class ExpungeCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'policy:greylist:expunge';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Expunge old records from the policy greylist tables';
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
- \App\Policy\Greylist\Connect::where('updated_at', '<', \Carbon\Carbon::now()->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();
}
}

File Metadata

Mime Type
text/x-diff
Expires
Sat, Jan 31, 1:29 PM (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
426314
Default Alt Text
(1 KB)

Event Timeline