Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
user.module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
6 May 2013 at 09:28 UTC
Updated:
29 Jul 2014 at 22:18 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
vijaycs85Initial patch...
Comment #3
ParisLiakos commentedComment #4
ParisLiakos commentedalso..
Comment #5
ParisLiakos commentedmeh..this wont fire hooks..something a bit uglier then
Comment #6
ParisLiakos commentedhumpff, wrong namespace
Comment #7
Crell commentedThis seems very wrong... You should never send() the response yourself.
Comment #8
ParisLiakos commentedi know its ugly like i said in #5 but i am open to alternatives!
hmm maybe i should keep user_logout() and fix this in another issue
Comment #9
ParisLiakos commentedthere, lets keep this issue moving, cause this access check here is needed to several other conversions and fixing openid for drupal_exit removal
Comment #10
ParisLiakos commentedWebTestBase--
Comment #12
ParisLiakos commentedcant reproduce locally
#10: 1987894-user-logout-route-10.patch queued for re-testing.
Comment #13
dawehnerDo we really need this statement? I can't see any usage.
Renaming an existing file feels a bit unrelated though this could make sense.
Comment #14
ParisLiakos commentedthanks for the review!
this conflicted with roles commit, so no interdiff, sorry.
i removed the unneeded use statement
yes i moved cause i just created the directory, i dont think we should have a seperate issue for moving this
Comment #15
Crell commentedWhy exactly aren't we removing user_logout(), the function?
Comment #16
ParisLiakos commentedbecause it is needed by user_menu_site_status_alter
it does something hacky, and imo should be converted to an event listener. you cant redirect like that, but fixing this should happen in the RedirectResponse issue
Comment #17
dawehnerGreat, thank you.
Comment #18
ParisLiakos commentedCrell opened a nice followup for #15, #16
#1998228: Remove hook_menu_site_status_alter() in favor of request listeners
Comment #19
alexpottCommitted e21c1a1 and pushed to 8.x. Thanks!
Comment #20
alexpott