function ArchiveTar::__destruct

File

drupal/core/lib/Drupal/Component/Archiver/ArchiveTar.php, line 212

Class

ArchiveTar
Creates a (compressed) Tar archive

Namespace

Drupal\Component\Archiver

Code

function __destruct() {
  $this
    ->_close();

  // ----- Look for a local copy to delete
  if ($this->_temp_tarname != '') {
    @drupal_unlink($this->_temp_tarname);
  }

  //        $this->_PEAR();
}