You are here

function content_lock_user_logout in Content locking (anti-concurrent editing) 7

Same name and namespace in other branches
  1. 7.3 content_lock.module \content_lock_user_logout()
  2. 7.2 content_lock.module \content_lock_user_logout()

Implement hook_user_logout().

File

./content_lock.module, line 469
Allows users to lock documents for modification.

Code

function content_lock_user_logout($account) {

  // removing all locks, as the user logs out
  _content_lock_release_all_user_locks($account->uid);
}