You are here

function revisioning_rules_action_publish_latest in Revisioning 7

Same name and namespace in other branches
  1. 8 revisioning.rules.inc \revisioning_rules_action_publish_latest()
  2. 6.4 revisioning.rules.inc \revisioning_rules_action_publish_latest()
  3. 6.3 revisioning.rules.inc \revisioning_rules_action_publish_latest()

Action: publish most recent pending revision.

File

./revisioning.rules.inc, line 283
Rules integration for Revisioning module.

Code

function revisioning_rules_action_publish_latest($node) {
  _revisioning_publish_latest_revision($node);
}