You are here

function apachesolr_update_7010 in Apache Solr Search 8

Same name and namespace in other branches
  1. 7 apachesolr.install \apachesolr_update_7010()

Update cache table schema for Drupal 7.

File

./apachesolr.install, line 621
Install and related hooks for apachesolr_search.

Code

function apachesolr_update_7010() {
  if (variable_get('apachesolr_update_from_6303', FALSE)) {
    return NULL;
  }
  db_drop_field('cache_apachesolr', 'headers');
  return 'Updated cache table schema for Drupal 7.';
}