Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
user.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2010 at 02:56 UTC
Updated:
21 Sep 2010 at 22:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
catchIt also bypasses invoking hook_user_logout(). In fact no hooks are invoked after a user is actually blocked or deleted via _user_cancel(), only hook_user_cancel(), which happens before.
Comment #3
catchPatch. Also brought user_block_action() into line.
Comment #4
marcingy commentedHave tested locally and it works as advertised.
Comment #5
klausi#3: 729796-2.patch queued for re-testing.
Comment #7
marcingy commentedChanging to major as per tag.
Comment #8
mustanggb commentedTag update
Comment #9
marcingy commentedJust a reroll to head.
Comment #10
kscheirerHow to test this patch?
Comment #11
moshe weitzman commenteduser_save() returns an $account object so no need to load it right afterwards
Comment #12
andypostsubscribe
Comment #13
bojanz commentedReroll, addressed Moshe's criticism.
Comment #14
moshe weitzman commentedLooks good to me. This is pretty important to fix.
Comment #15
sunThis can lead to infinite recursion when blocking a user upon user account update, no?
Powered by Dreditor.
Comment #16
catchOnly if the account update tried to block already blocked users, no?
Comment #17
dries commentedCommitted to CVS HEAD. Thanks.