This function gives an error when called from a Migrate rollback (and possibly elsewhere; I haven't checked) because the $edit variable does not exist.

/**
* Implements hook_user_delete()
*/
function user_mailman_register_user_delete($account) {
_user_mailman_register_subscribe($account, $edit, TRUE);
db_delete('mailman_users')
->condition('uid', $account->uid)
->execute();
}

Editing the second line to read:
_user_mailman_register_subscribe($account, $edit = NULL, TRUE);
prevents the error.

Comments

rjlang’s picture

Status: Active » Fixed

Thanks for fix! (Sorry for delay). Change has been rolled into 7.x-3.x-dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.