Jasig/cas — pull request #365 by leleuj (2013-11-26 14:47:15+00:00)
Title: CAS-1389: Logout fails as an error happens when tickets are marked as expired

The way things were coded are strange : the ticket was deleted before performing the logout, the logout itself marking the ticket as expired (which updates the TGT when using a distributed ticket registry).

I think we talked about that but I can't remember our discussion.

This pull request invert the logout process and the ticket deletion to make things work.