You are here

function message_comment in Message 6

Implementation of hook_comment().

File

./message.module, line 191
API functions to manipulate messages.

Code

function message_comment(&$a1, $op) {

  // Advanced implementation may want to disable the cleanup and do it
  // themselves.
  if (!variable_get('message_entity_delete_cleanup', TRUE)) {
    return;
  }

  // Preform basic clean up when a comment is deleted.
  if ($op == 'delete') {
  }
}