diff --git a/modules/node/node.install b/modules/node/node.install index 11ced749a86837ef1bffbceb514b4294b81a1cca..2aefeb09ead29f815b07f0c04ec9f2ac7e27b85b 100644 --- a/modules/node/node.install +++ b/modules/node/node.install @@ -386,7 +386,7 @@ function node_update_7002() { */ function node_update_7003() { $ret = array(); - if (!drupal_get_installed_schema_version('statistics')) { + if (drupal_get_installed_schema_version('statistics') == SCHEMA_UNINSTALLED) { db_drop_table($ret, 'node_counter'); } return $ret;