فهرست منبع

no auto reboot after disk update

andre 4 سال پیش
والد
کامیت
9e0c7c258f
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      app/UI/Disk/Providers/DiskProvider.php

+ 2 - 1
app/UI/Disk/Providers/DiskProvider.php

@@ -131,11 +131,12 @@ class DiskProvider extends BaseDataProvider implements ClientArea
         //backup
         $backup = $this->formData['backup'] == "on" ? null : 0;
         $hdd->setBackup($backup)->update();
+/* thurdata no auto reboot
         if ($vm->isRunning() &&
             !Job::waiting()->ofJob(RebootVmJob::class)->ofHostingId($this->getWhmcsParamByKey("serviceid"))->ofCustomId($vmId)->count())
         {
             queue(RebootVmJob::class, [], null, "hosting", $this->getWhmcsParamByKey("serviceid"),$vmId);
-        }
+        } */
         $resourceManager = new ResourceManager();
         return (new HtmlDataJsonResponse())
             ->setStatusSuccess()