You are here

function content_access_action_set_node_permissions_upgrade in Content Access 6

Automatically upgrade the old 'content_access_action_set_node_permissions' to an 'content_access_action_grant_node_permissions' action.

File

./content_access.rules.inc, line 270
Rules specific functions that expose content_access' API.

Code

function content_access_action_set_node_permissions_upgrade(&$element) {
  $element['#name'] = 'content_access_action_grant_node_permissions';
}