You are here

function img_assist_update_2 in Image Assist 5

Fix variable value of img_assist_textareas_type.

Configuration options 0 and 1 have been switched.

File

./img_assist.install, line 65

Code

function img_assist_update_2() {
  $ret = array();
  $type = variable_get('img_assist_textareas_type', 2);
  if ($type < 2) {
    variable_set('img_assist_textareas_type', $type ? 0 : 1);
  }
  return $ret;
}