You are here

function _inactive_user_admin_mail in Inactive User 5

Same name and namespace in other branches
  1. 6 inactive_user.module \_inactive_user_admin_mail()
  2. 7 inactive_user.module \_inactive_user_admin_mail()

Get administrator e-mail address(es)

2 calls to _inactive_user_admin_mail()
inactive_user_custom_settings in ./inactive_user.module
Custom settings page: menu callback (we're using a custom callback to enable a nicer menu title, without underscore
_inactive_user_mail in ./inactive_user.module
Wrapper for user_mail

File

./inactive_user.module, line 417

Code

function _inactive_user_admin_mail() {
  $admin_mail = db_result(db_query('SELECT mail FROM {users} WHERE uid = 1'));
  return variable_get('inactive_user_admin_email', variable_get('site_mail', $admin_mail));
}