You are here

function mailchimp_lists_queue_existing_access in Mailchimp 7.2

Access callback for mailchimp_lists_queue_existing_form().

1 string reference to 'mailchimp_lists_queue_existing_access'
mailchimp_lists_menu in modules/mailchimp_lists/mailchimp_lists.module
Implements hook_menu().

File

modules/mailchimp_lists/mailchimp_lists.module, line 101
Mailchimp lists module.

Code

function mailchimp_lists_queue_existing_access($list) {
  $ret = FALSE;
  if ($list->settings['cron'] && user_access('administer mailchimp')) {
    $ret = TRUE;
  }
  return $ret;
}