You are here

function Messaging_Message::dispatch_failed in Messaging 7

After the message has been processed with errors

1 call to Messaging_Message::dispatch_failed()
Messaging_Message::do_dispatch in ./messaging.message.inc
Check whether the message is to be sent / queued

File

./messaging.message.inc, line 632
Drupal Messaging Framework - Message class file

Class

Messaging_Message
Message class

Code

function dispatch_failed() {
  if ($this->discard) {
    $this
      ->delete();
  }
  elseif ($this->error || $this->log) {
    $this
      ->log();
  }
  return FALSE;
}