You are here

protected function Messaging_Message::process_done in Messaging 7

Mark operation as done for the current method

1 call to Messaging_Message::process_done()
Messaging_Message::process_step in ./messaging.message.inc
Run operations on message for current method if not done before

File

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

Class

Messaging_Message
Message class

Code

protected function process_done($step, $success = TRUE, $method = NULL) {
  $method = $method ? $method : $this->method;
  $success = $success && $this->result && $this
    ->check_status();
  $this->process[$method][$step] = $success;
  $this
    ->message_log('Process done', array(
    'method' => $method,
    'step' => $step,
    'result' => $success,
  ));
  return $success;
}