You are here

function spam_content_comment_admin in Spam 6

Menu callback; present an administrative spam comment listing.

1 string reference to 'spam_content_comment_admin'
comment_spamapi in content/spam_content_comment.inc
Spam module _spamapi() hook.

File

content/spam_content_comment.inc, line 312
Include file for integration with comments.

Code

function spam_content_comment_admin() {
  $edit = $_POST;
  if (isset($edit['operation']) && $edit['operation'] == 'delete' && $edit['comments']) {
    return drupal_get_form('comment_multiple_delete_confirm');
  }
  else {
    return drupal_get_form('spam_content_comment_admin_overview', arg(4));
  }
}