You are here

function update_install in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/update/update.install \update_install()
  2. 6 modules/update/update.install \update_install()
  3. 9 core/modules/update/update.install \update_install()

Implements hook_install().

File

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

Code

function update_install() {
  $queue = DrupalQueue::get('update_fetch_tasks', TRUE);
  $queue
    ->createQueue();
}