diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-04 03:33:29 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-04 03:33:29 +0000 |
commit | cab88a70149d7a1302d1e1e930fc19f909086a25 (patch) | |
tree | ae64e7c211fc6150dfac0a1fdb456ba893c02aca /modules/comment | |
parent | 6fc4eb9f945ecd7c2bea4742e3febe4632c88e99 (diff) | |
download | brdo-cab88a70149d7a1302d1e1e930fc19f909086a25.tar.gz brdo-cab88a70149d7a1302d1e1e930fc19f909086a25.tar.bz2 |
#220233 by Berdir, marcingy, et al: Add useful API functions for extracting node type data.
Diffstat (limited to 'modules/comment')
-rw-r--r-- | modules/comment/comment.install | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/comment/comment.install b/modules/comment/comment.install index 894a070e8..119e96a9c 100644 --- a/modules/comment/comment.install +++ b/modules/comment/comment.install @@ -23,7 +23,7 @@ function comment_uninstall() { // Remove variables. variable_del('comment_block_count'); - $node_types = array_keys(node_get_types()); + $node_types = array_keys(node_type_get_types()); foreach ($node_types as $node_type) { variable_del('comment_' . $node_type); variable_del('comment_anonymous_' . $node_type); @@ -90,7 +90,7 @@ function comment_update_6002() { 'comment_preview' => COMMENT_PREVIEW_REQUIRED, 'comment_form_location' => COMMENT_FORM_SEPARATE_PAGE, ); - $types = node_get_types(); + $types = node_type_get_types(); foreach ($settings as $setting => $default) { $value = variable_get($setting, $default); foreach ($types as $type => $object) { @@ -125,7 +125,7 @@ function comment_update_6003() { * Remove comment settings for page ordering. */ function comment_update_7000() { - $types = node_get_types(); + $types = node_type_get_types(); foreach ($types as $type => $object) { variable_del('comment_default_order' . $type); } |