public function Archive_Tar::__destruct in Drupal 7
File
- modules/
system/ system.tar.inc, line 279
Class
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)) {
@drupal_unlink($this->_temp_tarname);
}
}