function node_update_7003

Remove the node_counter if the statistics module is uninstalled.

Related topics

File

modules/node/node.install, line 564

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.