function shoutbox_shout_delete_action in Shoutbox 7.2
Same name and namespace in other branches
- 7 shoutbox.module \shoutbox_shout_delete_action()
File
- ./
shoutbox.module, line 1092 - 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();
}