You are here

function shoutbox_unpublish_form_submit in Shoutbox 5

Same name and namespace in other branches
  1. 6.2 shoutbox.pages.inc \shoutbox_unpublish_form_submit()
  2. 6 shoutbox.module \shoutbox_unpublish_form_submit()
  3. 7.2 shoutbox.pages.inc \shoutbox_unpublish_form_submit()
  4. 7 shoutbox.pages.inc \shoutbox_unpublish_form_submit()

Handle the unpublish form submission.

File

./shoutbox.module, line 805
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_unpublish_form_submit($form_id, $form_values) {
  return _shoutbox_moderate_shout($form_values['shout_id'], 1);
}