You are here

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

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

Implements hook_user_logout().

File

./content_lock.module, line 633
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);
}