function image_resize_filter_delete_all in Image Resize Filter 6
Same name and namespace in other branches
- 7 image_resize_filter.module \image_resize_filter_delete_all()
Delete the entire set of cached images.
3 calls to image_resize_filter_delete_all()
- image_resize_filter_uninstall in ./
image_resize_filter.install - Implementation of hook_uninstall().
- image_resize_filter_update_6100 in ./
image_resize_filter.install - Remove the old files sub-directory. Paths to resized images are now shorter.
- image_resize_filter_update_6102 in ./
image_resize_filter.install - Clear out all resized images to give them proper names if they were missing.
File
- ./
image_resize_filter.module, line 664 - image_resize_filter.module
Code
function image_resize_filter_delete_all() {
$directory = file_directory_path() . '/resize';
image_resize_filter_delete_recursive($directory);
cache_clear_all('*', 'cache_filter');
}