|
@@ -186,15 +186,6 @@ class BackupRemove extends Command
|
|
|
$whmcsParams->setParams($params);
|
|
$whmcsParams->setParams($params);
|
|
|
unset($this->vm, $this->api, $this->configuration);
|
|
unset($this->vm, $this->api, $this->configuration);
|
|
|
$storage = $this->configuration()->getBackupStorage() ? $this->configuration()->getBackupStorage() : 'local';
|
|
$storage = $this->configuration()->getBackupStorage() ? $this->configuration()->getBackupStorage() : 'local';
|
|
|
-
|
|
|
|
|
- logModuleCall(
|
|
|
|
|
- 'ProxmoxCloudVps',
|
|
|
|
|
- __FUNCTION__,
|
|
|
|
|
- $storage,
|
|
|
|
|
- 'Debug remove Backup Cron',
|
|
|
|
|
- $params
|
|
|
|
|
- );
|
|
|
|
|
-
|
|
|
|
|
$fileRepository = new FileRepository();
|
|
$fileRepository = new FileRepository();
|
|
|
$fileRepository->setApi($this->api());
|
|
$fileRepository->setApi($this->api());
|
|
|
$fileRepository->findBackupByVmModel(VmModel::ofHostingId($params['serviceid'])->get())
|
|
$fileRepository->findBackupByVmModel(VmModel::ofHostingId($params['serviceid'])->get())
|