You are here

function spam_reported_spam in Spam 5

2 string references to 'spam_reported_spam'
spam_reported_comment_operations in ./spam.module
Return the function to call dependant on the $action requested.
spam_reported_nodes_operations in ./spam.module
Return the function to call dependant on the $action requested.

File

./spam.module, line 2970

Code

function spam_reported_spam($source, $id) {

  // marking as spam, first remove from spam_reported table
  db_query("DELETE FROM {spam_reported} WHERE source = '%s' AND id = %d", $source, $id);
  $function = "spam_spam_{$source}";
  $function($id);
}