You are here

function webform_update_7410 in Webform 7.4

Remove the "teaser" column from the "webform" table.

File

./webform.install, line 1807
Webform module install/schema hooks.

Code

function webform_update_7410() {
  if (db_field_exists('webform', 'teaser')) {
    db_drop_field('webform', 'teaser');
    return t('Removed "teaser" column. All forms that had the "Show complete form in teaser" option disabled will now show forms in their teasers. Use view modes to hide the form if desired.');
  }
}