You are here

function Messaging_Cached_Object::delete in Messaging 6.4

Delete from system and from static cache

Overrides Messaging_Object::delete

File

includes/messaging_object.class.inc, line 306
Drupal Messaging Framework - Base classes

Class

Messaging_Cached_Object
Class with static caching

Code

function delete() {
  if ($this
    ->key()) {
    $this
      ->cache_delete();
    return parent::delete();
  }
}