user.logout using $user variable, even tough it was out of scope for this function. So logout did not work as it should.
I also changed it to work a bit more like real user_logout (form core user.module), so after logout global $user becomes anonymous, instead of just NULL (just in case something else will try to use $user later :).
| Comment | File | Size | Author |
|---|---|---|---|
| user_service.module.patch | 580 bytes | ahwayakchih |
Comments
Comment #1
ahwayakchih commenteds/using/was using
:)
Comment #2
killes@www.drop.org commentedI was about to provide the same patch...
Comment #3
marcingy commentedCommitted to drupal 5 and drupal 6
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.