You are here

function webform_update_7422 in Webform 7.4

Remove the administrator option "Include webform forms in search index" and rely on the Search Index view mode instead.

File

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

Code

function webform_update_7422() {
  variable_del('webform_search_index');
  return module_exists('search') ? t('Webform forms will now be included in the search index only if the Webform "field" is displayed in the "Search index" view mode.') : NULL;
}