You are here

function Messaging_Message::dispatch_success in Messaging 7

After the message has been processed successfully

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

File

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

Class

Messaging_Message
Message class

Code

function dispatch_success() {
  if ($this->discard) {
    $this
      ->delete();
  }
  elseif ($this->log) {
    $this
      ->log();
  }
  return TRUE;
}