diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-04-25 14:01:05 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-04-25 14:01:05 +0000 |
commit | 9f54584c253a248aa4d78553305c6085e1bcff80 (patch) | |
tree | 711a3a7223c62f0b211dede5a459d5528ca5f3d4 | |
parent | e9946015c7cd235e1bc44c6c7b2edabbdb186b2f (diff) | |
download | brdo-9f54584c253a248aa4d78553305c6085e1bcff80.tar.gz brdo-9f54584c253a248aa4d78553305c6085e1bcff80.tar.bz2 |
- Patch #440768 by Dave Reid: proper check for whether the schema is installed or not.
-rw-r--r-- | modules/node/node.install | 2 |
1 files changed, 1 insertions, 1 deletions
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; |