You are here

function Messaging_Send_Method::message_queue in Messaging 6.3

Same name and namespace in other branches
  1. 6.4 includes/messaging_method.class.inc \Messaging_Send_Method::message_queue()
  2. 7 messaging.method.inc \Messaging_Send_Method::message_queue()

Queue the message

File

classes/messaging_method.class.inc, line 150
Drupal Messaging Framework - Send_Method class file

Class

Messaging_Send_Method
Sending method, implements all specific method functionality

Code

function message_queue($message) {
  $message->result = TRUE;
  $message->queue = 1;
  $message
    ->save();
  return $message->result;
}