You are here

function image_resize_filter_update_6102 in Image Resize Filter 6

Same name and namespace in other branches
  1. 7 image_resize_filter.install \image_resize_filter_update_6102()

Clear out all resized images to give them proper names if they were missing.

File

./image_resize_filter.install, line 67

Code

function image_resize_filter_update_6102() {
  $ret = array();
  drupal_load('module', 'image_resize_filter');
  image_resize_filter_delete_all();
  $ret[] = array(
    'success' => TRUE,
    'query' => t('Previously resized images may have been missing file names. The currently resized images have been flushed.'),
  );
  return $ret;
}