You are here

function shoutbox_shout_delete_action in Shoutbox 7

Same name and namespace in other branches
  1. 7.2 shoutbox.module \shoutbox_shout_delete_action()

File

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

Code

function shoutbox_shout_delete_action(&$object) {
  db_delete('shoutbox')
    ->condition('shout_id', $object->shout_id)
    ->execute();
}