You are here

function subscriptions_content_disable in Subscriptions 2.0.x

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. 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();
}