You are here

function advancedqueue_disable in Advanced Queue 7

Implements hook_disable().

File

./advancedqueue.install, line 21
Install, update, and uninstall functions for the Advanced-queue module.

Code

function advancedqueue_disable() {
  if (variable_get('queue_default_class', NULL) === 'AdvancedQueue') {

    // Let the queues run free.
    variable_del('queue_default_class', 'AdvancedQueue');
  }
}