You are here

function Messaging_Message::done in Messaging 6.3

Same name and namespace in other branches
  1. 6.4 includes/messaging_message.class.inc \Messaging_Message::done()

Wrapping up, store if we need logging

1 call to Messaging_Message::done()
Messaging_Message::send in classes/messaging_message.class.inc
Send message using method, destination

File

classes/messaging_message.class.inc, line 202
Drupal Messaging Framework - Default class file

Class

Messaging_Message
Message class

Code

function done() {
  if ($this->queue && !$this->queued) {
    $this
      ->queue();
  }
  elseif ($this->log || $this->error) {
    $this
      ->store();
  }
}