Exemplo n.º 1
0
Arquivo: file.php Projeto: Jintha/cama
 function delete_version($version, $hole)
 {
     DH_Access::delete_by_version($version);
     $options = get_option('drainhole_options');
     if (isset($options['delete_file']) && $options['delete_file'] && file_exists($this->file($hole, $version))) {
         @unlink($this->file($hole, $version));
     }
 }