You are here

function update_update_7000 in Drupal 7

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

Related topics

File

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