You are here

function _support_admin_default_mail in Support Ticketing System 7

Same name and namespace in other branches
  1. 6 support.admin.inc \_support_admin_default_mail()

@file support.admin.inc

2 calls to _support_admin_default_mail()
SupportClientUIController::overviewTableRow in includes/support.ui.inc
Generates the row for the passed entity and may be overridden in order to customize the rows.
support_admin_settings in ./support.admin.inc

File

./support.admin.inc, line 7
support.admin.inc

Code

function _support_admin_default_mail() {
  $mail = variable_get('support_global_mailfrom', '');
  if (empty($mail)) {
    $mail = variable_get('site_mail', ini_get('sendmail_from'));
  }
  return $mail;
}