You are here

function messaging_message_store in Messaging 6.2

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

Store messages, custom delivery

File

./messaging.module, line 384

Code

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