function lock_init

Same name in this branch
  1. 6.x drupal-6.x/includes/lock-install.inc \lock_init()
  2. 6.x drupal-6.x/includes/lock.inc \lock_init()

Initialize the locking system.

Related topics

2 calls to lock_init()
install_main in drupal-6.x/install.php
The Drupal installation happens in a series of steps. We begin by verifying that the current environment meets our minimum requirements. We then go on to verify that settings.php is properly configured. From there we connect to the configured database…
_drupal_bootstrap in drupal-6.x/includes/bootstrap.inc

Archivo

drupal-6.x/includes/lock.inc, line 65
A database-mediated implementation of a locking mechanism.

Código

function lock_init() {
  global $locks;

  $locks = array();
}