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.
Hello,
Here is a patch that implements a hook_user_delete to remove user from queues when its account is deleted.
If it is not removed, it is impossible to do it in the UI. And in the uses of the userqueues, there are errors because the user no more exists.
Thanks for the review.
Comment | File | Size | Author |
---|---|---|---|
#1 | userqueue-user-account-delete-2296043.patch | 1.64 KB | gaurav.kapoor |
userqueue_user_delete.patch | 615 bytes | Grimreaper |
Comments
Comment #1
gaurav.kapoor CreditAttribution: gaurav.kapoor at OpenSense Labs commentedCorrect user removal and positions update.
Comment #2
gaurav.kapoor CreditAttribution: gaurav.kapoor at OpenSense Labs commentedComment #3
vidhatanand CreditAttribution: vidhatanand at OpenSense Labs commentedComment #5
vidhatanand CreditAttribution: vidhatanand at OpenSense Labs commentedComment #6
vidhatanand CreditAttribution: vidhatanand at OpenSense Labs commented