function content_lock_user in Content locking (anti-concurrent editing) 6
Same name and namespace in other branches
- 6.2 content_lock.module \content_lock_user()
File
- ./
content_lock.module, line 353 - Allows users to lock documents for modification.
Code
function content_lock_user($op, $edit, $account) {
switch ($op) {
case 'logout':
// removing all locks, as the user logs out
_content_lock_release_all_user_locks($account->uid);
break;
}
}