You are here

function revisioning_rules_action_publish_latest in Revisioning 6.3

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. 7 revisioning.rules.inc \revisioning_rules_action_publish_latest()

Action: publish most recent pending revision.

File

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

Code

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