You are here

function shoutbox_user in Shoutbox 6

Same name and namespace in other branches
  1. 5 shoutbox.module \shoutbox_user()

Implementation of hook_user().

File

./shoutbox.module, line 174
shoutbox module displays a block for users to create short messages for thw whole site. Uses AHAH to update the database and display content.

Code

function shoutbox_user($op, &$edit, &$account, $category = NULL) {
  if ($op == "logout") {
    setcookie("shoutinfo", FALSE, time(), '/');
  }
}