The content lock module's hook hook_content_lock_release() should also pass the $uid when invoked to allow other modules to act on only certain user identifiers, etc.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

amcgowanca created an issue. See original summary.

amcgowanca’s picture

alberto56’s picture

Status: Active » Needs work

I'll set this to needs work because there is a discrepancy in hook invocation (content_lock_released with a "d") and in the hook definition in ./sites/all/modules/contrib/content_lock/content_lock.module (content_lock_released without a "d"). Even though that problem predates the patch, this is a good time to fix it.