You are here

function Messaging_Message::delete in Messaging 6.3

Same name and namespace in other branches
  1. 6.4 includes/messaging_message.class.inc \Messaging_Message::delete()
  2. 7 messaging.message.inc \Messaging_Message::delete()

Delete if already on store

File

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

Class

Messaging_Message
Message class

Code

function delete() {
  if (!empty($this->mqid)) {
    $result = messaging_store('delete', $this->mqid);
    unset($this->mqid);
    return $result;
  }
}