diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-09-17 03:12:41 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-09-17 03:12:41 +0000 |
commit | 65654b29e8987f8c2a58fcb5e6dc090d80827887 (patch) | |
tree | e34d891f5c3cd9acc7d15d9cad46164e248a27c1 /modules/node/node.install | |
parent | 02d18aa68d23547bc342f681036afdcb6b5facf2 (diff) | |
download | brdo-65654b29e8987f8c2a58fcb5e6dc090d80827887.tar.gz brdo-65654b29e8987f8c2a58fcb5e6dc090d80827887.tar.bz2 |
#574796 by sun: Fixed 'Article' content-type permissions not granted to admin role after installation.
Diffstat (limited to 'modules/node/node.install')
-rw-r--r-- | modules/node/node.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/node/node.install b/modules/node/node.install index 22bd55152..c53bdf8c9 100644 --- a/modules/node/node.install +++ b/modules/node/node.install @@ -408,7 +408,7 @@ function node_update_7004() { // Map old preview setting to new values order. $original_preview ? $original_preview = 2 : $original_preview = 1; - node_type_clear(); + drupal_static_reset('_node_types_build'); $type_list = node_type_get_types(); // Apply original settings to all types. @@ -444,7 +444,7 @@ function node_update_7006(&$context) { $ret = array('#finished' => 0); // Get node type info for every invocation. - node_type_clear(); + drupal_static_reset('_node_types_build'); $node_types = node_type_get_types(); if (!isset($context['total'])) { |