You are here

function lock_init in Drupal 6

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

Initialize the locking system.

Related topics

2 calls to lock_init()
install_main in ./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 includes/bootstrap.inc

File

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

Code

function lock_init() {
  global $locks;
  $locks = array();
}