From 9f54584c253a248aa4d78553305c6085e1bcff80 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 25 Apr 2009 14:01:05 +0000 Subject: - Patch #440768 by Dave Reid: proper check for whether the schema is installed or not. --- modules/node/node.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node/node.install') diff --git a/modules/node/node.install b/modules/node/node.install index 11ced749a..2aefeb09e 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; -- cgit v1.2.3