From e8b5a655a35437bcea024495528c38410cafcabe Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Fri, 12 Sep 2014 17:33:36 +0100 Subject: [PATCH] Issue #2334689 by er.pushpinderrana | joachim: Fixed lock_acquire() should give the character limit for the lock name. --- core/lib/Drupal/Core/Lock/LockBackendInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Drupal/Core/Lock/LockBackendInterface.php b/core/lib/Drupal/Core/Lock/LockBackendInterface.php index cb34fc7cf1b..c84e42dbe2a 100644 --- a/core/lib/Drupal/Core/Lock/LockBackendInterface.php +++ b/core/lib/Drupal/Core/Lock/LockBackendInterface.php @@ -72,7 +72,7 @@ interface LockBackendInterface { * Acquires a lock. * * @param string $name - * Lock name. + * Lock name. Limit of name's length is 255 characters. * @param float $timeout = 30.0 * (optional) Lock lifetime in seconds. *