You are here

function htmlpurifier_update_7001 in HTML Purifier 7

Same name and namespace in other branches
  1. 7.2 htmlpurifier.install \htmlpurifier_update_7001()

Clean up the D6 cache_htmlpurifier schema since it was a clone of the system cache schema

File

./htmlpurifier.install, line 289
Install, update and uninstall functions for the HTML Purifier module.

Code

function htmlpurifier_update_7001() {
  if (db_field_exists('cache_htmlpurifier', 'headers')) {
    db_drop_field('cache_htmlpurifier', 'headers');
  }
}