You are here

function node_update_7003 in Drupal 7

Remove the node_counter if the statistics module is uninstalled.

Related topics

File

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

Code

function node_update_7003() {
  if (drupal_get_installed_schema_version('statistics') == SCHEMA_UNINSTALLED) {
    db_drop_table('node_counter');
  }
}