You are here

function advancedqueue_enable in Advanced Queue 7

Implements hook_enable().

File

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

Code

function advancedqueue_enable() {
  if (variable_get('queue_default_class', NULL) === NULL) {

    // Take ownership of all the queues.
    variable_set('queue_default_class', 'AdvancedQueue');
  }
}