function _content_lock_release_all_user_locks in Content locking (anti-concurrent editing) 7
Same name and namespace in other branches
- 6.2 content_lock.module \_content_lock_release_all_user_locks()
- 6 content_lock.module \_content_lock_release_all_user_locks()
- 7.3 includes/content_lock.func.inc \_content_lock_release_all_user_locks()
- 7.2 content_lock.module \_content_lock_release_all_user_locks()
1 call to _content_lock_release_all_user_locks()
- content_lock_user_logout in ./
content_lock.module - Implement hook_user_logout().
File
- ./
content_lock.module, line 560 - Allows users to lock documents for modification.
Code
function _content_lock_release_all_user_locks($uid) {
db_delete('content_lock')
->condition('uid', $uid)
->execute();
}