|
@@ -126,7 +126,7 @@ class BackupRemove extends Command
|
|
|
}
|
|
}
|
|
|
$whmcsParams = di('whmcsParams');
|
|
$whmcsParams = di('whmcsParams');
|
|
|
$whmcsParams->setParams($params);
|
|
$whmcsParams->setParams($params);
|
|
|
- unset($this->vm, $this->api, $this->configuration, $this->productId);
|
|
|
|
|
|
|
+ unset($this->vm, $this->api, $this->configuration);
|
|
|
$storage = $this->configuration()->getBackupStorage() ? $this->configuration()->getBackupStorage() : 'local';
|
|
$storage = $this->configuration()->getBackupStorage() ? $this->configuration()->getBackupStorage() : 'local';
|
|
|
$fileRepository = new FileRepository();
|
|
$fileRepository = new FileRepository();
|
|
|
$fileRepository->setApi($this->api());
|
|
$fileRepository->setApi($this->api());
|