You are here

function mailchimp_update_6204 in Mailchimp 6.2

Implementation of hook_update_N().

Remove unused unsubscribe message variable.

File

./mailchimp.install, line 115

Code

function mailchimp_update_6204() {
  $ret = array();
  variable_del('mailchimp_unsubscription_success_message');
  variable_del('mailchimp_unsubscription_failure_message');
  $ret[] = array(
    'success' => TRUE,
    'query' => "The 'mailchimp_unsubscription' message variables have been removed.",
  );
  return $ret;
}