protected function FeedsHTTPCache::deleteFile in Feeds 7.2
Deletes a file from the cache directory.
Parameters
string $cid: The file to delete.
2 calls to FeedsHTTPCache::deleteFile()
- FeedsHTTPCache::clear in includes/
FeedsHTTPCache.inc - Implements DrupalCacheInterface::clear().
- FeedsHTTPCache::deleteMultipleFiles in includes/
FeedsHTTPCache.inc - Deletes multiple files from the cache directory.
File
- includes/
FeedsHTTPCache.inc, line 131 - Contains FeedsHTTPCache class.
Class
- FeedsHTTPCache
- Cache implementation for the Feeds HTTP cache.
Code
protected function deleteFile($cid) {
$filename = $this
->constructFilePath($cid);
if (is_file($filename)) {
drupal_unlink($filename);
}
}