You are here

function apachesolr_attachments_update_7001 in Apache Solr Attachments 7

Same name and namespace in other branches
  1. 6.3 apachesolr_attachments.install \apachesolr_attachments_update_7001()

Enable apachesolr_attachments.

File

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

Code

function apachesolr_attachments_update_7001() {
  $active = variable_get('search_active_modules', array(
    'node',
    'user',
  ));
  $active[] = 'apachesolr_attachments';
  variable_set('search_active_modules', array_unique($active));
}