[root@krakatoa modules]# diff mailhandler.module_v1.79 mailhandler.module_v1.79_patched
126a127,134
> // handle defaults for node creation (e.g. comment | promote | moderate | sticky fields)
> $node_blog_default = variable_get('node_options_blog', array('status', 'promote'));
> $node->status = in_array('status', $node_blog_default);
> $node->promote = in_array('promote', $node_blog_default);
> $node->moderate = in_array('moderate', $node_blog_default);
> $node->revision = in_array('revision', $node_blog_default);
> $node->comment = variable_get('comment_blog', 2);
>
[root@krakatoa modules]#
Comment | File | Size | Author |
---|---|---|---|
mailhandler.module_defaultsPatch | 509 bytes | 3B |
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedComment #2
(not verified) CreditAttribution: commented