update rm deadcode

This commit is contained in:
baodev0
2026-09-27 11:42:40 +07:00
parent 82a71244ca
commit 3af59bd9c5
129 changed files with 5194 additions and 2698 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ class ServiceHosting extends Command
$Hosting = ModuleHosting::with('Server')->where('customer_id',$item->id)->first();
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 <= 0)
{
$jobs[] = new HostingJobs($item->id,'Suspend');