You are here

function revisioning_node_has_pending in Revisioning 6.4

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

File

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

Code

function revisioning_node_has_pending($node, $settings) {
  return _revisioning_get_number_of_pending_revisions($node->nid) > 0;
}