Classes/WebExcess/Flow/Backup/Service/BackupService.php
public function removeAllBackups()
    {
        $this->output->outputLine();
        $this->output->outputLine('<b>Remove Backups</b>');
        $this->output->outputLine();

        $versions = $this->getAvailableVersions();
        $this->output->progressStart(count($versions));
        $i = 0;
        foreach ($versions as $version) {
            $this->files->removeDirectoryRecursively($this->createDirectoryPath([$this->localBackupTarget, $version]));
            $i++;
            $this->output->progressSet($i);
        }
        $this->output->progressFinish();
        $this->output->outputLine();

    }
public function removeAllBackups()
    {
        $this->output->outputLine();
        $this->output->outputLine('<b>Remove Backups</b>');
        $this->output->outputLine();

        $versions = $this->getAvailableVersions();
        $this->output->progressStart(count($versions));
        $i = 0;
        foreach ($versions as $version) {
            $this->files->removeDirectoryRecursively($this->createDirectoryPath([$this->localBackupTarget, $version]));
            $i++;
            $this->output->progressSet($i);
        }
        $this->output->progressFinish();
        $this->output->outputLine();

    }
public function removeAllBackups ( ) { $ this -> output -> outputLine ( ) ; $ this -> output -> outputLine ( '<b>Remove Backups</b>' ) ; $ this -> output -> outputLine ( ) ; $ versions = $ this -> getAvailableVersions ( ) ; $ this -> output -> progressStart ( count ( $ versions ) ) ; $ i = 0 ; foreach ( $ versions as $ version ) { $ this -> files -> removeDirectoryRecursively ( $ this -> createDirectoryPath ( [ $ this -> localBackupTarget , $ version ] ) ) ; $ i ++ ; $ this -> output -> progressSet ( $ i ) ; } $ this -> output -> progressFinish ( ) ; $ this -> output -> outputLine ( ) ; }
Remove all Backup Versions

@return void
Remove all Backup Versions