You are here

function image_resize_filter_update_6101 in Image Resize Filter 6

Same name and namespace in other branches
  1. 7 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 55

Code

function image_resize_filter_update_6101() {
  $ret = array();
  db_query("DELETE FROM {variable} WHERE name LIKE 'image_resize_filter_allowed_difference_%'");
  $ret[] = array(
    'success' => TRUE,
    'query' => t('Image resize allowed difference option removed.'),
  );
  return $ret;
}