function _content_lock_release_all_user_locks in Content locking (anti-concurrent editing) 6
Same name and namespace in other branches
- 6.2 content_lock.module \_content_lock_release_all_user_locks()
- 7.3 includes/content_lock.func.inc \_content_lock_release_all_user_locks()
- 7 content_lock.module \_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()
File
- ./
content_lock.module, line 431 - Allows users to lock documents for modification.
Code
function _content_lock_release_all_user_locks($uid) {
db_query("DELETE FROM {content_lock} WHERE uid = %d", $uid);
}