If we had a function nodecomment_get_comment_type($node_type) then advanced forum could simply use $comment_type = module_invoke('nodecomment', 'get_comment_type', $node->type);

if $comment_type is set, it is using node comments. If not, it isn't.

This will make it easy to do switches to nodecomment from external sources for doing their queries or getting data about comments.

Comments

merlinofchaos’s picture

Issue tags: +DruBB

tag

quicksketch’s picture

Status: Active » Needs review
StatusFileSize
new4.7 KB

Patch with this functionality attached.

quicksketch’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)
Issue tags: -DruBB

Automatically closed -- issue fixed for 2 weeks with no activity.