You are here

function _content_lock_release_all_user_locks in Content locking (anti-concurrent editing) 6

Same name and namespace in other branches
  1. 6.2 content_lock.module \_content_lock_release_all_user_locks()
  2. 7.3 includes/content_lock.func.inc \_content_lock_release_all_user_locks()
  3. 7 content_lock.module \_content_lock_release_all_user_locks()
  4. 7.2 content_lock.module \_content_lock_release_all_user_locks()
1 call to _content_lock_release_all_user_locks()
content_lock_user in ./content_lock.module

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);
}