You are here

function apachesolr_attachments_uninstall in Apache Solr Attachments 7

Same name and namespace in other branches
  1. 5 apachesolr_attachments.install \apachesolr_attachments_uninstall()
  2. 6.3 apachesolr_attachments.install \apachesolr_attachments_uninstall()
  3. 6 apachesolr_attachments.install \apachesolr_attachments_uninstall()
  4. 6.2 apachesolr_attachments.install \apachesolr_attachments_uninstall()

Implements hook_uninstall().

File

./apachesolr_attachments.install, line 17
Install, update and uninstall functions for the apachesolr_attachments module.

Code

function apachesolr_attachments_uninstall() {
  variable_del('apachesolr_attachments_tika_path');
  variable_del('apachesolr_attachments_tika_jar');
  variable_del('apachesolr_attachments_excluded_extensions');
  variable_del('apachesolr_attachments_extract_using');
  variable_del('apachesolr_attachments_excluded_mime');
  variable_del('apachesolr_attachments_filesize_limit');
  db_delete('variable')
    ->condition('name', db_like('apachesolr_attachments_enity_bundle_indexing_') . '%', 'LIKE')
    ->execute();
}