You are here

function shoutbox_user in Shoutbox 5

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

Implementation of hook_user().

File

./shoutbox.module, line 159
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(), '/');
  }
}