You are here

function image_resize_filter_update_6101 in Image Resize Filter 7

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

Remove the "Image resize difference" option. It was confusing and didn't actually do anything.

File

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

Code

function image_resize_filter_update_6101() {
  $ret = array();
  db_delete('variable')
    ->condition('name', 'image_resize_filter_allowed_difference_%', 'LIKE')
    ->execute();
  $ret[] = array(
    'success' => TRUE,
    'query' => t('Image resize allowed difference option removed.'),
  );
  return $ret;
}