You are here

function Messaging_Message::done in Messaging 6.4

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

After the message has been processed

1 call to Messaging_Message::done()
Messaging_Message::process in includes/messaging_message.class.inc
Check whether the message is to be sent / queued

File

includes/messaging_message.class.inc, line 352
Drupal Messaging Framework - Message class file

Class

Messaging_Message
Message class

Code

function done() {

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