function smart_paging_user_delete in Smart Paging 7
Same name and namespace in other branches
- 7.2 smart_paging.module \smart_paging_user_delete()
Implements hook_user_delete().
File
- ./
smart_paging.module, line 430 - Provides smart paging capability to Drupal contents.
Code
function smart_paging_user_delete($account) {
db_delete('smart_paging')
->condition('entity_id', $account->uid)
->condition('entity_type', 'user')
->execute();
}