You are here

public function TempFileAdapter::deleteAllTempFiles in Backup and Migrate 5.0.x

Delete all temp files which have been created.

Overrides TempFileAdapterInterface::deleteAllTempFiles

1 call to TempFileAdapter::deleteAllTempFiles()
TempFileAdapter::__destruct in src/Core/File/TempFileAdapter.php
Destruct the manager.

File

src/Core/File/TempFileAdapter.php, line 111

Class

TempFileAdapter
A very basic temp file manager.

Namespace

Drupal\backup_migrate\Core\File

Code

public function deleteAllTempFiles() {
  foreach ($this->tempfiles as $file) {
    $this
      ->deleteTempFile($file);
  }
}