update rm deadcode
This commit is contained in:
@@ -39,7 +39,7 @@ class VPSMail extends Command
|
||||
$vps = ModuleVmware::where('customer_id',$item->id)->first();
|
||||
if ($vps)
|
||||
{
|
||||
$ServiceExpiry = Carbon::now()->diffInDays(Carbon::parse($vps->next_due_date),false);
|
||||
$ServiceExpiry = (int) Carbon::now()->diffInDays(Carbon::parse($vps->next_due_date), false);
|
||||
if ($ServiceExpiry <= 5 && $ServiceExpiry > 0)
|
||||
{
|
||||
$jobs[] = new ExpiryMail($vps->id,5,4);
|
||||
|
||||
Reference in New Issue
Block a user