function content_lock_cancel_submit in Content locking (anti-concurrent editing) 7
Same name and namespace in other branches
- 6.2 content_lock.module \content_lock_cancel_submit()
- 7.2 content_lock.module \content_lock_cancel_submit()
Callback for a cancel request on a form
1 string reference to 'content_lock_cancel_submit'
File
- ./
content_lock.module, line 430 - Allows users to lock documents for modification.
Code
function content_lock_cancel_submit(&$form, &$form_state) {
// Release the node
content_lock_release_own_item($form['#node']->nid, TRUE, TRUE);
}