You are here

function flag_mail in Flag 6.2

Same name and namespace in other branches
  1. 6 flag.module \flag_mail()
  2. 7.2 flag.module \flag_mail()

Implementation of hook_mail().

File

./flag.module, line 1030
The Flag module.

Code

function flag_mail($key, &$message, $params) {
  switch ($key) {
    case 'over_threshold':
      $message['subject'] = $params['subject'];
      $message['body'] = $params['body'];
      break;
  }
}