This hook can be used for performing tasks before a user logout. The user data will still be availbale in $PHORUM["user"] at this point.
$PHORUM["user"]
Call time:
In login.php, just before destroying the user session.
login.php
Hook input:
None
Hook output: