update rm deadcode
This commit is contained in:
@@ -40,7 +40,7 @@ class HostingMail extends Command
|
||||
|
||||
if ($Hosting)
|
||||
{
|
||||
$ServiceExpiry = Carbon::now()->diffInDays(Carbon::parse($Hosting->next_due_date),false);
|
||||
$ServiceExpiry = (int) Carbon::now()->diffInDays(Carbon::parse($Hosting->next_due_date), false);
|
||||
if ($ServiceExpiry <= 5 && $ServiceExpiry >= 0)
|
||||
{
|
||||
$jobs[] = new ExpiryMail($item->id,5,3);
|
||||
|
||||
Reference in New Issue
Block a user