function subscriptions_content_disable in Subscriptions 2.0.x
Same name and namespace in other branches
- 5.2 subscriptions_content.module \subscriptions_content_disable()
- 6 subscriptions_content.module \subscriptions_content_disable()
- 7 subscriptions_content.module \subscriptions_content_disable()
Implements hook_disable().
Remove our queue items.
File
- subscriptions_content/
subscriptions_content.module, line 846 - Subscriptions to content events.
Code
function subscriptions_content_disable() {
db_delete('subscriptions_queue')
->condition('load_function', 'subscriptions_content_%', 'LIKE')
->execute();
}