Pārlūkot izejas kodu

remove debug memory units

andre 4 gadi atpakaļ
vecāks
revīzija
51fb2d1c5b
1 mainītis faili ar 0 papildinājumiem un 28 dzēšanām
  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 = $this->configuration()->getMemory();
-
-                logModuleCall(
-                    'proxmoxVPS',
-                    __FUNCTION__,
-                    $ram,
-                    'Debug 1',
-                    $this->get_object_vars()
-                );
-
                 Utility::unitFormat($ram, "mb", 'bytes');
-
                 if ($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');
-
-                    logModuleCall(
-                        'proxmoxVPS',
-                        __FUNCTION__,
-                        $ram,
-                        'Debug 3',
-                        $this->get_object_vars()
-                    );
-
                 }
                 if ($this->configuration()->isQemu())
                 {