1.20.x node.install node_update_1011()

Delete the node_type table if it still exists.

Related topics

File

modules/node/node.install, line 1096
Install, update and uninstall functions for the node module.

Code

function node_update_1011() {
  if (db_table_exists('node_type')) {
    db_drop_table('node_type');
  }
}