|
|
@@ -73,15 +73,7 @@ class OsTemplateSelect extends Select implements ClientArea
|
|
|
|
|
|
$VmList = $clusterResurces->fetchWithUniqueNames($defaultNode);
|
|
|
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")))
|
|
|
{
|