function mailchimp_update_7202 in Mailchimp 7.2
Implements hook_update_N() Delete corrupt watchdog entries.
File
- ./
mailchimp.install, line 99 - Install, update and uninstall functions for the mailchimp module.
Code
function mailchimp_update_7202() {
$query = 'DELETE FROM {watchdog} WHERE type = :type AND message = :message AND variables = :variables';
db_query($query, array(
':type' => 'mailchimp',
':message' => 'Failed to load MailChimp PHP library. Please refer to the installation requirements.',
':variables' => serialize(3),
));
}