Ver código fonte

remove debug memory units

andre 4 anos atrás
pai
commit
51fb2d1c5b
1 arquivos alterados com 0 adições e 28 exclusões
  1. 0 28
      app/Http/Actions/ChangePackage.php

+ 0 - 28
app/Http/Actions/ChangePackage.php

@@ -123,39 +123,11 @@ class ChangePackage extends AddonController
                 }
                 }
                 //RAM
                 //RAM
                 $ram = $this->configuration()->getMemory();
                 $ram = $this->configuration()->getMemory();
-
-                logModuleCall(
-                    'proxmoxVPS',
-                    __FUNCTION__,
-                    $ram,
-                    'Debug 1',
-                    $this->get_object_vars()
-                );
-
                 Utility::unitFormat($ram, "mb", 'bytes');
                 Utility::unitFormat($ram, "mb", 'bytes');
-
                 if ($this->getWhmcsConfigOption(ConfigurableOption::MEMORY))
                 if ($this->getWhmcsConfigOption(ConfigurableOption::MEMORY))
                 {
                 {
                     $ram = $this->getWhmcsConfigOption(ConfigurableOption::MEMORY);
                     $ram = $this->getWhmcsConfigOption(ConfigurableOption::MEMORY);
-
-                    logModuleCall(
-                        'proxmoxVPS',
-                        __FUNCTION__,
-                        $ram,
-                        'Debug 2',
-                        $this->get_object_vars()
-                    );
-        
                     Utility::unitFormat($ram, $this->configuration()->getMemoryUnit(), 'bytes');
                     Utility::unitFormat($ram, $this->configuration()->getMemoryUnit(), 'bytes');
-
-                    logModuleCall(
-                        'proxmoxVPS',
-                        __FUNCTION__,
-                        $ram,
-                        'Debug 3',
-                        $this->get_object_vars()
-                    );
-
                 }
                 }
                 if ($this->configuration()->isQemu())
                 if ($this->configuration()->isQemu())
                 {
                 {