Kaynağa Gözat

try to unset productId

andre 3 ay önce
ebeveyn
işleme
a5fbe37362
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      app/Cron/BackupRemove.php

+ 2 - 2
app/Cron/BackupRemove.php

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