function uc_ups_node_revision_delete in Ubercart 8.4
Same name and namespace in other branches
- 7.3 shipping/uc_ups/uc_ups.module \uc_ups_node_revision_delete()
Implements hook_node_revision_delete().
File
- shipping/
uc_ups/ uc_ups.module, line 224 - UPS shipping quote module.
Code
function uc_ups_node_revision_delete($node) {
$connection = \Drupal::database();
$connection
->delete('uc_ups_products')
->condition('vid', $node
->getRevisionId())
->execute();
}