You are here

function mailchimp_user_edit_access in Mailchimp 6.2

Same name and namespace in other branches
  1. 7 mailchimp.module \mailchimp_user_edit_access()

Access callback for the newseltter signup form from a user account.

1 string reference to 'mailchimp_user_edit_access'
mailchimp_menu in ./mailchimp.module
Implementation of hook_menu.

File

./mailchimp.module, line 454
Mailchimp module.

Code

function mailchimp_user_edit_access($user) {
  if (variable_get('mailchimp_user_edit', TRUE) && user_edit_access($user)) {
    return TRUE;
  }
  else {
    return FALSE;
  }
}