andre hai 3 meses
pai
achega
87301ebd55
Modificáronse 1 ficheiros con 0 adicións e 9 borrados
  1. 0 9
      app/Cron/BackupRemove.php

+ 0 - 9
app/Cron/BackupRemove.php

@@ -212,15 +212,6 @@ class BackupRemove extends Command
             }
             }
         }
         }
         $sizeMax = $this->getWhmcsConfigOption(Cloud\ConfigurableOption::BACKUPS_SIZE,  $this->configuration()->getBackupMaxSize());
         $sizeMax = $this->getWhmcsConfigOption(Cloud\ConfigurableOption::BACKUPS_SIZE,  $this->configuration()->getBackupMaxSize());
-
-                logModuleCall(
-                    'ProxmoxCloudVps',
-                    __FUNCTION__,
-                    $fileRepository->fetch(),
-                    'Debug remove Backup Cron',
-                    $params
-                );
-
         if($sizeMax && $sizeMax!="-1" && $fileRepository->getSizeInGb() > $sizeMax){
         if($sizeMax && $sizeMax!="-1" && $fileRepository->getSizeInGb() > $sizeMax){
             $this->output->writeln(sprintf("The maximum size set for a backup has been exceeded of %s GB", $fileRepository->getSizeInGb()- $sizeMax ));
             $this->output->writeln(sprintf("The maximum size set for a backup has been exceeded of %s GB", $fileRepository->getSizeInGb()- $sizeMax ));
             foreach ($fileRepository->sortByTime()->fetch() as $id => &$backup)
             foreach ($fileRepository->sortByTime()->fetch() as $id => &$backup)