function lock_initialize

lock_initialize()

Initialize the locking system.

Related topics

File

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

Code

function lock_initialize() {
  global $locks;

  $locks = array();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!lock.inc/function/lock_initialize/7.x