You are here

function messaging_message_queue in Messaging 6

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

Queue message for next delivery

@todo Improve storage so we can store only once but multiple rows for destinations

File

./messaging.module, line 333

Code

function messaging_message_queue($message, $info = array()) {
  $message->queued = 1;
  return messaging_store('save', $message);
}