Skip to content
Snippets Groups Projects
Commit c56439cb authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #855374 by aspilicious: fix newlines in lock.inc.

parent 8dd4725e
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -91,6 +91,7 @@ function _lock_id() {
* The name of the lock.
* @param $timeout
* A number of seconds (float) before the lock expires (minimum of 0.001).
*
* @return
* TRUE if the lock was acquired, FALSE if it failed.
*/
......@@ -154,6 +155,7 @@ function lock_acquire($name, $timeout = 30.0) {
*
* @param $name
* The name of the lock.
*
* @return
* TRUE if there is no lock or it was removed, FALSE otherwise.
*/
......@@ -190,6 +192,7 @@ function lock_may_be_available($name) {
* The name of the lock.
* @param $delay
* The maximum number of seconds to wait, as an integer.
*
* @return
* TRUE if the lock holds, FALSE if it is available.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment