You are here

function image_resize_filter_update_6100 in Image Resize Filter 7

Same name and namespace in other branches
  1. 6 image_resize_filter.install \image_resize_filter_update_6100()

Remove the old files sub-directory. Paths to resized images are now shorter.

File

./image_resize_filter.install, line 38
Install, update and uninstall functions for the Image resize filter module.

Code

function image_resize_filter_update_6100() {
  $ret = array();
  drupal_load('module', 'image_resize_filter');
  image_resize_filter_delete_all();
  $ret[] = array(
    'success' => TRUE,
    'query' => t('The location of resized images has changed. The currently resized images have been flushed.'),
  );
  return $ret;
}