You are here

function content_uninstall in Content Construction Kit (CCK) 6.3

Same name and namespace in other branches
  1. 6 content.install \content_uninstall()
  2. 6.2 content.install \content_uninstall()

Implementation of hook_uninstall().

File

./content.install, line 91

Code

function content_uninstall() {
  drupal_uninstall_schema('content');

  // The variable is used during the uninstall process,
  // so we removed it at the very end.
  variable_del('content_schema_version');

  // Remove extra weights.
  foreach (node_get_types('names') as $type_name) {
    variable_del("content_extra_weights_{$type_name}");
  }
}