You are here

function social_content_node_delete in Social Content 7.2

Implements hook_delete().

Delete this node from history log so it can be imported again.

File

./social_content.module, line 102
Social Content module.

Code

function social_content_node_delete($node) {
  if (variable_get('social_content_auto_delete_history', TRUE)) {
    SocialContent::deleteHistory($node->nid);
  }
}