andre 4 лет назад
Родитель
Сommit
70b2d043cd
1 измененных файлов с 1 добавлено и 9 удалено
  1. 1 9
      app/UI/VmCreate/Fields/OsTemplateSelect.php

+ 1 - 9
app/UI/VmCreate/Fields/OsTemplateSelect.php

@@ -73,15 +73,7 @@ class OsTemplateSelect extends Select implements ClientArea
 
 
         $VmList = $clusterResurces->fetchWithUniqueNames($defaultNode);
         $VmList = $clusterResurces->fetchWithUniqueNames($defaultNode);
         usort($VmList, function($a, $b) {return strcmp($a->getName(), $b->getName());});
         usort($VmList, function($a, $b) {return strcmp($a->getName(), $b->getName());});
-        logModuleCall(
-            'proxmoxCloud',
-            __FUNCTION__,
-            $clusterResurces->fetchWithUniqueNames($defaultNode),
-            'Debug',
-            $VmList
-        );
-        
-    foreach ($clusterResurces->fetchWithUniqueNames($defaultNode) as $entity)
+        foreach ($VmList as $entity)
         {
         {
             if ($entity->isCustom() && !$entity->matchName($this->getWhmcsParamByKey("serviceid")))
             if ($entity->isCustom() && !$entity->matchName($this->getWhmcsParamByKey("serviceid")))
             {
             {