Commit 458b9fc7 authored by webchick's avatar webchick

Issue #2300857 by joshi.rohit100: Remove lock() method from bootstrap.inc as deprecated.

parent 783db6db
......@@ -1706,14 +1706,3 @@ function _drupal_shutdown_function() {
}
}
/**
* Get locking layer instance.
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
* Use \Drupal::lock().
*
* @return \Drupal\Core\Lock\LockBackendInterface
*/
function lock() {
return \Drupal::lock();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment