You are here

function backup_file::pop_filetype in Backup and Migrate 8.2

Same name and namespace in other branches
  1. 8.3 includes/files.inc \backup_file::pop_filetype()
  2. 6.3 includes/files.inc \backup_file::pop_filetype()
  3. 6.2 includes/files.inc \backup_file::pop_filetype()
  4. 7.3 includes/files.inc \backup_file::pop_filetype()
  5. 7.2 includes/files.inc \backup_file::pop_filetype()

Pop the current file type.

1 call to backup_file::pop_filetype()
backup_file::pop_type in includes/files.inc
Push a file extension onto the file and return the previous file path.

File

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

Class

backup_file
A backup file which allows for saving to and reading from the server.

Code

function pop_filetype() {
  array_pop($this->ext);
  $this
    ->detect_filetype_from_extension();
}