function _inactive_user_admin_mail in Inactive User 7
Same name and namespace in other branches
- 5 inactive_user.module \_inactive_user_admin_mail()
- 6 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 665 - The inactive user module controls inactive users.
Code
function _inactive_user_admin_mail() {
$admin_mail = db_query('SELECT mail FROM {users} WHERE uid = :uid', array(
':uid' => 1,
));
return variable_get('inactive_user_admin_email', variable_get('site_mail', $admin_mail));
}