function update_update_7000

Create a queue to store tasks for requests to fetch available update data.

Related topics

File

drupal/modules/update/update.install, line 169
Install, update, and uninstall functions for the Update Manager module.

Code

function update_update_7000() {
  module_load_include('inc', 'system', 'system.queue');
  $queue = DrupalQueue::get('update_fetch_tasks');
  $queue
    ->createQueue();
}