1 system.tar.inc public Archive_Tar::__destruct()

File

core/modules/system/system.tar.inc, line 281

Class

Archive_Tar

Code

public function __destruct() 
 {
  $this->_close();
  // ----- Look for a local copy to delete
  if ($this->_temp_tarname != '' && (bool) preg_match('/^tar[[:alnum:]]*\.tmp$/', $this->_temp_tarname)) {
    @backdrop_unlink($this->_temp_tarname);
  }
}