You are here

function subscriptions_content_disable in Subscriptions 7

Same name and namespace in other branches
  1. 5.2 subscriptions_content.module \subscriptions_content_disable()
  2. 6 subscriptions_content.module \subscriptions_content_disable()
  3. 2.0.x subscriptions_content/subscriptions_content.module \subscriptions_content_disable()

Implements hook_disable().

Remove our queue items.

File

./subscriptions_content.module, line 841
Subscriptions to content events

Code

function subscriptions_content_disable() {
  db_delete('subscriptions_queue')
    ->condition('load_function', 'subscriptions_content_%', 'LIKE')
    ->execute();
}