You are here

function collageformatter_image_style_flush in Collage Formatter 7

Implements hook_image_style_flush().

File

./collageformatter.module, line 1084
Main file for Collage Formatter module.

Code

function collageformatter_image_style_flush($style) {

  // Remove symlinks and copied files.
  // Doesn't work for symlinks - deletes original file instead of symlink.
  if ($style['name'] == 'collageformatter') {
    $directory = file_build_uri('collageformatter');

    // file_unmanaged_delete_recursive($directory);
  }
}