function smart_paging_node_delete in Smart Paging 7.2
Same name and namespace in other branches
- 7 smart_paging.module \smart_paging_node_delete()
Implements hook_node_delete().
File
- ./
smart_paging.module, line 421 - Provides smart paging capability to Drupal contents.
Code
function smart_paging_node_delete($node) {
db_delete('smart_paging')
->condition('entity_id', $node->nid)
->condition('entity_type', 'node')
->execute();
}