I have a customized logout function, I used hook_menu_alter to replace the callback, but the problem I faced is that I cant use it with autologout module, because it calls user_logout directly.

Is it possible to use drupal_goto("logout") instead?

Comments

Leeteq’s picture

Subscribing.

jvandervort’s picture

Version: 6.x-2.1 » 6.x-2.x-dev

Moved to the current dev head.

jvandervort’s picture

Not sure what you put in your custom function, but did you implement hook_user's logout op?
It would be the typical drupal way to do something at logout.
If you were redirecting to a new url, I just committed a patch for user-defined url's?

johnennew’s picture

Status: Active » Closed (works as designed)

Not sure what the issue is here. Can you try the latest 4 branches of the module?