Browse Source

bugfix max value in range slider

andre 4 years ago
parent
commit
1fe7a16f5b
1 changed files with 0 additions and 9 deletions
  1. 0 9
      app/UI/VmCreate/Sections/Qemu/GeneralSection.php

+ 0 - 9
app/UI/VmCreate/Sections/Qemu/GeneralSection.php

@@ -125,15 +125,6 @@ class GeneralSection extends HalfPageSection
             $this->addField($field);
         }
         //memory
-
-        logModuleCall(
-            'proxmoxCloud',
-            __FUNCTION__,
-            $this->resourceManager->memory()->free(),
-            'Debug',
-            $this->configuration()->serverMemory->min
-        );
-
         $field = new Range('memory', $this->resourceManager->memory()->getMin(), $this->resourceManager->memory()->free());
         $field->addValidator(new NumberValidator($this->resourceManager->memory()->getMin(), $this->resourceManager->memory()->free(),true));
         $field->setDefaultValue($this->configuration()->serverMemory->min);