You are here

function uc_stock_mail in Ubercart 6.2

Same name and namespace in other branches
  1. 8.4 uc_stock/uc_stock.module \uc_stock_mail()
  2. 7.3 uc_stock/uc_stock.module \uc_stock_mail()

Implements hook_mail().

File

uc_stock/uc_stock.module, line 115

Code

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