You are here

function _inactive_user_admin_mail in Inactive User 6

Same name and namespace in other branches
  1. 5 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
_inactive_user_mail in ./inactive_user.module
Wrapper for user_mail.

File

./inactive_user.module, line 430
The inactive user module controls inactive users.

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));
}