You are here

function customfilter_update_6112 in Custom filter 6

Same name and namespace in other branches
  1. 7.2 customfilter.install \customfilter_update_6112()
  2. 7 customfilter.install \customfilter_update_6112()

Implements hook_update_N().

File

./customfilter.install, line 392
Installation file for Custom filter.

Code

function customfilter_update_6112() {
  $ret = array();
  if (db_column_exists('customfilter_filter', 'longtips')) {
    db_change_field($ret, 'customfilter_filter', 'longtips', 'longtip', array(
      'type' => 'text',
    ));
  }
  if (db_column_exists('customfilter_filter', 'shorttips')) {
    db_change_field($ret, 'customfilter_filter', 'shorttips', 'shorttip', array(
      'type' => 'text',
    ));
  }
  return $ret;
}