You are here

function Messaging_Send_Method::message_aftersend in Messaging 6.3

Same name and namespace in other branches
  1. 6.4 includes/messaging_method.class.inc \Messaging_Send_Method::message_aftersend()

Run after sending message

File

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

Class

Messaging_Send_Method
Sending method, implements all specific method functionality

Code

function message_aftersend($message) {

  // Depending on parameters and what's happened so far we make the final queue/log decision
  if ($message->queue || $message->log) {
    $message
      ->store();
  }
}