Manual:Hooks/UserLogout

Details

 * $user: the user object that is about to be logged out
 * The function called must return true/false, otherwise a MWException is thrown.