function subscriptions_taxonomy_disable in Subscriptions 7
Same name and namespace in other branches
- 5.2 subscriptions_taxonomy.module \subscriptions_taxonomy_disable()
- 6 subscriptions_taxonomy.module \subscriptions_taxonomy_disable()
- 2.0.x subscriptions_taxonomy/subscriptions_taxonomy.module \subscriptions_taxonomy_disable()
Implements hook_disable().
Remove our queue items.
File
- ./
subscriptions_taxonomy.module, line 242 - Subscriptions to taxonomy terms.
Code
function subscriptions_taxonomy_disable() {
db_delete('subscriptions_queue')
->condition('module', 'node')
->condition('field', 'tid')
->execute();
}