Browse Source

try to reenable vmcreate after delete action

andre 4 years ago
parent
commit
baef06a834
1 changed files with 0 additions and 9 deletions
  1. 0 9
      app/UI/Vms/Pages/VmsDataTable.php

+ 0 - 9
app/UI/Vms/Pages/VmsDataTable.php

@@ -67,15 +67,6 @@ class VmsDataTable extends DataTable implements ClientArea, AdminArea
             $createButton->setIcon('lu-zmdi lu-zmdi-plus');
             $createButton->replaceClasses(['lu-btn lu-btn--primary']);
             $vmCreateSidebar = $vmCreateSidebar ? $vmCreateSidebar : sl("sidebar")->getSidebar("virtualMachinesProxmoxCloudVps")->getChild("vmcreate");
-
-            logModuleCall(
-                'proxmoxCloud',
-                __FUNCTION__,
-                $vmCreateSidebar,
-                'Debug',
-                ''
-            );
-
             //deaktivate createVM Button in case of lack of ressources
             if($resurceManager->disk()->free() < $resurceManager->disk()->getMin() || $resurceManager->vcpus()->free() < $resurceManager->vcpus()->getMin() || $resurceManager->memory()->free() < $resurceManager->memory()->getMin()) {
                 $createButton->addHtmlAttribute("disabled",true);