function lock_init

6.x lock.inc lock_init()
6.x lock-install.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

File

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

Code

function lock_init() {
  global $locks;

  $locks = array();
}