You are here

function mailchimp_user_edit_access in Mailchimp 7

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

Access callback for editing newsletter subscriptions.

1 string reference to 'mailchimp_user_edit_access'
mailchimp_menu in ./mailchimp.module
Implements hook_menu().

File

./mailchimp.module, line 441
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;
  }
}