You are here

function mailchimp_lists_update_7001 in Mailchimp 7.4

Same name and namespace in other branches
  1. 7.5 modules/mailchimp_lists/mailchimp_lists.install \mailchimp_lists_update_7001()
  2. 7.3 modules/mailchimp_lists/mailchimp_lists.install \mailchimp_lists_update_7001()

Enable entity_token.module which is now required in addition to entity.module.

File

modules/mailchimp_lists/mailchimp_lists.install, line 33
Install, update and uninstall functions for the mailchimp_lists module.

Code

function mailchimp_lists_update_7001(&$sandbox) {
  if (!module_exists('entity_token')) {
    module_enable(array(
      'entity_token',
    ));
  }
}