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...

Comments

markpavlitski’s picture

Status: Needs review » Reviewed & tested by the community

The patch works fine.

Since the parameter is ignored anyway it makes sense to provide the same default value as the core implementation.

jeremy’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Reviewed & tested by the community » Patch (to be ported)

Thanks, committed:
http://drupalcode.org/project/memcache.git/commit/13163cc

Needs backport to 6.x.

jeremy’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.