protected function FeedsHTTPCache::deleteAllFiles in Feeds 7.2
Deletes all files from the cache directory.
1 call to FeedsHTTPCache::deleteAllFiles()
- FeedsHTTPCache::clear in includes/
FeedsHTTPCache.inc - Implements DrupalCacheInterface::clear().
File
- includes/
FeedsHTTPCache.inc, line 153 - Contains FeedsHTTPCache class.
Class
- FeedsHTTPCache
- Cache implementation for the Feeds HTTP cache.
Code
protected function deleteAllFiles() {
$file_cache_dir = $this
->getCacheDir();
if (drupal_realpath($file_cache_dir) && file_exists($file_cache_dir)) {
@file_unmanaged_delete_recursive($file_cache_dir);
}
}