You are here

function cmis_sync_node_delete in CMIS API 7.2

Same name and namespace in other branches
  1. 7 cmis_sync/cmis_sync.module \cmis_sync_node_delete()

Implements hook_node_delete

Parameters

$node:

Return value

unknown_type

File

cmis_sync/cmis_sync.module, line 96

Code

function cmis_sync_node_delete($node) {
  if (!isset($node->cmis_sync_disabled)) {
    module_load_include('drupal.inc', 'cmis_sync');
    try {
      _cmis_sync_drupal_cmis_update($node, 'delete');
    } catch (CMISException $e) {
      cmis_error_handler('cmis_sync_nodeapi', $e);
    }
  }
}