You are here

function mailchimp_subscribe_message in Mailchimp 6

Same name and namespace in other branches
  1. 5.2 mailchimp.module \mailchimp_subscribe_message()
  2. 5 mailchimp.module \mailchimp_subscribe_message()
1 string reference to 'mailchimp_subscribe_message'
mailchimp_menu in ./mailchimp.module
Implementation of hook_menu.

File

./mailchimp.module, line 511
Mailchimp module.

Code

function mailchimp_subscribe_message() {
  if ($_GET['success']) {
    return variable_get('mailchimp_subscription_success_message', SUBSCRIPTION_SUCCESS);
  }
  else {
    return variable_get('mailchimp_subscription_failure_message', SUBSCRIPTION_FAILURE);
  }
}