Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
mailchimp_get_lists()
caches Mailchimp lists in order to not build the list structure on each request.
However, when a user changes Mailchimp API key on the configuration form can still contain mailchimp_get_lists()
stale items.
Proposed resolution
Flush Mailchimp cache when a user changes Mailchimp API key on the configuration form.
Comments