function protected_node_rules_action_unlock in Protected Node 6
Same name and namespace in other branches
- 7 protected_node_rules/protected_node_rules.rules.inc \protected_node_rules_action_unlock()
- 1.0.x protected_node_rules/protected_node_rules.rules.inc \protected_node_rules_action_unlock()
Grant access rights to the node to the current user.
File
- ./
protected_node_rules.rules.inc, line 126 - Rules integration for the protected_node module.
Code
function protected_node_rules_action_unlock($node) {
protected_node_unlock($node->nid);
return array();
}