You are here

function messaging_simple_user_message_submit in Messaging 5

Same name and namespace in other branches
  1. 6.4 messaging_simple/messaging_simple.module \messaging_simple_user_message_submit()
  2. 6 messaging_simple/messaging_simple.module \messaging_simple_user_message_submit()
  3. 6.2 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_id, $form_values) {
  messaging_store('del', array(
    'mqid' => $form_values['message']['mqid'],
  ));
  drupal_set_message(t('The message has been deleted'));
}