You are here

function messaging_message_store in Messaging 6

Same name and namespace in other branches
  1. 6.2 messaging.module \messaging_message_store()

Store messages, custom delivery

1 call to messaging_message_store()
messaging_notify_aftersend in messaging_notify/messaging_notify.module
Messaging aftersend callback

File

./messaging.module, line 341

Code

function messaging_message_store($message, $info = array()) {
  $message->stored = 1;
  if (empty($message->mqid)) {
    $message = messaging_store('save', $message);
  }
  return $message;
}