? .new.4tPIgF ? 505904_imagecache_file_download.patch ? imagecache_file_download.patch Index: imagecache.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/imagecache/imagecache.module,v retrieving revision 1.112.2.4 diff -u -p -r1.112.2.4 imagecache.module --- imagecache.module 19 Aug 2009 18:40:59 -0000 1.112.2.4 +++ imagecache.module 19 Aug 2009 20:56:27 -0000 @@ -365,7 +365,7 @@ function imagecache_cache_private() { $preset = check_plain(array_shift($args)); $source = implode('/', $args); - if (user_access('view imagecache '. $preset)) { + if (user_access('view imagecache '. $preset) && !in_array(-1, module_invoke_all('file_download', $source))) { _imagecache_cache($preset, $source); } else {