Commit 9f54584c authored by Dries's avatar Dries

- Patch #440768 by Dave Reid: proper check for whether the schema is installed or not.

parent e9946015
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment