You are here

function messaging_simple_user_message_submit in Messaging 6.2

Same name and namespace in other branches
  1. 5 messaging_simple/messaging_simple.module \messaging_simple_user_message_submit()
  2. 6.4 messaging_simple/messaging_simple.module \messaging_simple_user_message_submit()
  3. 6 messaging_simple/messaging_simple.module \messaging_simple_user_message_submit()
  4. 6.3 messaging_simple/messaging_simple.module \messaging_simple_user_message_submit()

Message form submit

File

messaging_simple/messaging_simple.module, line 111
Simple messaging using html page. Messaging method plug-in

Code

function messaging_simple_user_message_submit($form, &$form_state) {
  messaging_store('del', array(
    'mqid' => $form_state['values']['message']['mqid'],
  ));
  drupal_set_message(t('The message has been deleted'));
}