You are here

function _backup_migrate_temp_files_delete in Backup and Migrate 5.2

Same name and namespace in other branches
  1. 8.2 includes/files.inc \_backup_migrate_temp_files_delete()
  2. 8.3 includes/files.inc \_backup_migrate_temp_files_delete()
  3. 5 backup_migrate.module \_backup_migrate_temp_files_delete()
  4. 6.3 includes/files.inc \_backup_migrate_temp_files_delete()
  5. 6 backup_migrate.module \_backup_migrate_temp_files_delete()
  6. 6.2 includes/files.inc \_backup_migrate_temp_files_delete()
  7. 7.3 includes/files.inc \_backup_migrate_temp_files_delete()
  8. 7.2 includes/files.inc \_backup_migrate_temp_files_delete()

Delete all temporary files.

1 call to _backup_migrate_temp_files_delete()
backup_migrate_temp_file in includes/files.inc
Get a temp file. Store it in the normal save path for slightly better security in shared environments.

File

includes/files.inc, line 205
General file handling code for Backup and Migrate.

Code

function _backup_migrate_temp_files_delete($files) {
  foreach ($files as $file) {
    if (file_exists($file)) {
      @unlink($file);
    }
  }
}