You are here

function spam_reported_delete in Spam 5

2 string references to 'spam_reported_delete'
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 2977

Code

function spam_reported_delete($source, $id) {

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