Closed (fixed)
Project:
Drupal core
Version:
5.x-dev
Component:
user.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2006 at 09:56 UTC
Updated:
18 Dec 2006 at 10:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
bart jansens commentedLooks like filing a bug report and hoping someone else fixes it, doesn't work ;)
Patch attached.
Comment #2
bart jansens commentedforgot the patch
Comment #3
moshe weitzman commentedworks as advertised. i tested logout, block a user, and so on.
rerolled to remove fuzz.
Comment #4
dries commentedI'd prefer to make two functions: session_destroy_uid() and session_destroy_sid().
Comment #5
bart jansens commentedAllright, here is the patch with two functions.
Comment #6
bart jansens commentedForgot one call to sess_destroy in the previous patch.
Comment #7
moshe weitzman commentedtested. works as designed. rerolled since one hunk that had an unrelated comment change was failing.
i grepped contrib and only autologout and remember_me modules use sess_destroy(). i will personally submit a patch for autologout. remember_me has been superceded by persistent_login.module. i think we can say that this is not a significant API change.
Comment #8
dries commentedLooks good and works. Committed.
Comment #9
(not verified) commented