|
|
@@ -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()
|