Commit 13163ccb authored by gielfeldt's avatar gielfeldt Committed by Jeremy

Issue #366993 by gielfeldt: add default value for lock_id to match core lock.inc

parent cd5df57a
......@@ -149,7 +149,7 @@ function _lock_id() {
/**
* Release all locks acquired by this request.
*/
function lock_release_all($lock_id) {
function lock_release_all($lock_id = NULL) {
global $locks;
foreach ($locks as $name => $id) {
$value = dmemcache_get($name, 'semaphore');
......
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