浏览代码

add logging

andre 3 月之前
父节点
当前提交
87301ebd55
共有 1 个文件被更改,包括 0 次插入9 次删除
  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());
-
-                logModuleCall(
-                    'ProxmoxCloudVps',
-                    __FUNCTION__,
-                    $fileRepository->fetch(),
-                    'Debug remove Backup Cron',
-                    $params
-                );
-
         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 ));
             foreach ($fileRepository->sortByTime()->fetch() as $id => &$backup)