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

Return value

bool:

File

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

Class

Archive_Tar

Code

public function _cleanFile() 
 {
  $this->_close();

  // ----- Look for a local copy
  if ($this->_temp_tarname != '') {
    // ----- Remove the local copy but not the remote tarname
    @backdrop_unlink($this->_temp_tarname);
    $this->_temp_tarname = '';
  }
  else {
    // ----- Remove the local tarname file
    @backdrop_unlink($this->_tarname);
  }
  $this->_tarname = '';

  return true;
}