You are here

function spam_hold in Spam 6

Invoke hold action for given content type. TODO: Integrate with the Actions module.

1 call to spam_hold()
spam_scan in ./spam.module
API call for scanning content for spam. If spam is found, the appropriate action will be taken.

File

./spam.module, line 2171
Spam module, v3 Copyright(c) 2006-2008 Jeremy Andrews <jeremy@tag1consulting.com>. All rights reserved.

Code

function spam_hold($type, $id, $extra = array()) {
  spam_log(SPAM_VERBOSE, 'spam_hold', t('held'), $type, $id);
  spam_invoke_module($type, 'hold', $id, $extra);
}