Просмотр исходного кода

remove priority from update VM form

andre 5 дней назад
Родитель
Сommit
36b7b4e50f
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      app/UI/VmUpdate/Sections/Qemu/GeneralSection.php

+ 2 - 1
app/UI/VmUpdate/Sections/Qemu/GeneralSection.php

@@ -42,7 +42,8 @@ class GeneralSection extends BaseSection
     public function initFields()
     {
         $vm = \ModulesGarden\ProxmoxAddon\Core\Helper\sl('Vm')->getVm();
-        $cpuPrioryty = $this->configuration()->hasCpuPriority();
+//        $cpuPrioryty = $this->configuration()->hasCpuPriority();
+        $cpuPrioryty = false;
         //name
         $field = new Text('name');
         $field->addValidator(new HostnameValidator());