Closed (fixed)
Project:
Memcache API and Integration
Version:
7.x-1.x-dev
Component:
memcache-lock.inc
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2013 at 06:21 UTC
Updated:
1 May 2013 at 23:10 UTC
According to lock.inc, lock_release_all($lock_id) has a default value for its argument: lock_release_all($lock_id = NULL)
http://api.drupal.org/api/drupal/includes%21lock.inc/function/lock_relea...
| Comment | File | Size | Author |
|---|---|---|---|
| memcache-lock-argument-default-value.patch | 439 bytes | gielfeldt |
Comments
Comment #1
markpavlitski commentedThe patch works fine.
Since the parameter is ignored anyway it makes sense to provide the same default value as the core implementation.
Comment #2
jeremy commentedThanks, committed:
http://drupalcode.org/project/memcache.git/commit/13163cc
Needs backport to 6.x.
Comment #3
jeremy commentedAnd committed to 6.x:
http://drupalcode.org/project/memcache.git/commit/4aaf458