You are here

function protected_node_rules_action_lock in Protected Node 6

Same name and namespace in other branches
  1. 7 protected_node_rules/protected_node_rules.rules.inc \protected_node_rules_action_lock()
  2. 1.0.x protected_node_rules/protected_node_rules.rules.inc \protected_node_rules_action_lock()

Revoke any access right to the node from the current user.

File

./protected_node_rules.rules.inc, line 118
Rules integration for the protected_node module.

Code

function protected_node_rules_action_lock($node) {
  protected_node_lock($node->nid);
  return array();
}