Преглед изворни кода

remove priority from update VM form

andre пре 5 дана
родитељ
комит
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());