Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/w3-total-cache/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/w3-total-cache/Cache_File_Cleaner_Generic_HardDelete.php |
<?php
namespace W3TC;
/**
* Disk-enhanced file cache cleaner
*/
class Cache_File_Cleaner_Generic_HardDelete extends Cache_File_Cleaner_Generic {
function __construct( $config = array() ) {
parent::__construct( $config );
}
function _clean_file( $entry, $full_path ) {
if ( substr( $entry, -4 ) === '_old' ) {
$this->processed_count++;
@unlink( $full_path );
} elseif ( !$this->is_valid( $full_path ) ) {
@unlink( $full_path );
}
}
}