summaryrefslogtreecommitdiff
path: root/modules/node/node.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-06-18 15:46:30 +0000
committerDries Buytaert <dries@buytaert.net>2009-06-18 15:46:30 +0000
commite42450e4ad82c2359332748784e0211db7495b91 (patch)
tree1a0ae7fc338abdd63d973da132850a1bd93cf2fd /modules/node/node.install
parent19302728e8d32f295da60be984e4d1d4b39c3f6d (diff)
downloadbrdo-e42450e4ad82c2359332748784e0211db7495b91.tar.gz
brdo-e42450e4ad82c2359332748784e0211db7495b91.tar.bz2
- Patch #490074 by andypost, bjaspan, catch: fix upgrade path from Drupal 6 to Drupal 7.
Diffstat (limited to 'modules/node/node.install')
-rw-r--r--modules/node/node.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.install b/modules/node/node.install
index 72c82481a..d81626f52 100644
--- a/modules/node/node.install
+++ b/modules/node/node.install
@@ -398,7 +398,7 @@ function node_update_7004() {
// Map old preview setting to new values order.
$original_preview ? $original_preview = 2 : $original_preview = 1;
- $node_types_clear();
+ node_type_clear();
$type_list = node_type_get_types();
// Apply original settings to all types.