You are here

function views_update_7302 in Views (for Drupal 7) 7.3

Remove headers field from cache tables.

See also

system_update_7054()

File

./views.install, line 643
Contains install and update functions for Views.

Code

function views_update_7302() {
  if (db_field_exists('cache_views', 'headers')) {
    db_drop_field('cache_views', 'headers');
  }
  if (db_field_exists('cache_views_data', 'headers')) {
    db_drop_field('cache_views_data', 'headers');
  }
}