You are here

function apachesolr_attachments_settings_submit in Apache Solr Attachments 7

Same name and namespace in other branches
  1. 6.3 apachesolr_attachments.admin.inc \apachesolr_attachments_settings_submit()
  2. 6 apachesolr_attachments.admin.inc \apachesolr_attachments_settings_submit()
  3. 6.2 apachesolr_attachments.admin.inc \apachesolr_attachments_settings_submit()

Form submit handler for the settings Form

See also

apachesolr_attachments_settings()

1 string reference to 'apachesolr_attachments_settings_submit'
apachesolr_attachments_settings in ./apachesolr_attachments.admin.inc
Displays the Attachment Settings Form.

File

./apachesolr_attachments.admin.inc, line 101
Provides a file attachment search implementation for use with the Apache Solr module

Code

function apachesolr_attachments_settings_submit($form, &$form_state) {

  // Delete this so it's rebuilt.
  variable_del('apachesolr_attachments_excluded_mime');
  drupal_set_message(t('If you changed the allowed file extensions, you may need to delete and re-index all attachments.'));
}