In order for contribs to call comment_multiple_delete_confirm(), they must precede this call with a module_load_include('inc', 'comment', 'comment.admin'). If the delete function is in comment.module, the extra load is unnecessary. If I can get CVS working again for D7, I will create a patch, but it is very simple: just cut the function from comment.admin.inc and paste it into comment.module.

This problem was found in D6, so it would be real nice if the fix could be back-ported.

Comments

damien tournoud’s picture

Version: 7.x-dev » 6.x-dev

Irrelevant for D7, just drupal_function_exists() that function.

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.