You are here

function bb2_email in Bad Behavior 7.2

Same name and namespace in other branches
  1. 5.2 badbehavior.module \bb2_email()
  2. 6.2 badbehavior.module \bb2_email()
  3. 6 badbehavior.module \bb2_email()

Fetch the admin's email address.

Return value

string

1 call to bb2_email()
badbehavior_settings_form in ./badbehavior.admin.inc
Builds the Settings form found on the /admin/settings/badbehavior page

File

./badbehavior.module, line 186
Integrates Bad Behavior with Drupal

Code

function bb2_email() {
  return variable_get('badbehavior_mail', variable_get('site_mail', ini_get('sendmail_from')));
}