You are here

function _revisioning_insert_msg in Revisioning 6.4

Same name and namespace in other branches
  1. 6.3 revisioning.module \_revisioning_insert_msg()
1 call to _revisioning_insert_msg()
revisioning_nodeapi in ./revisioning.module
Implementation of hook_nodeapi().

File

./revisioning.module, line 752
Allows the creation and modification of pre-published as well as live content while the current revision remains unchanged and publicly visible until the changes have been reviewed by a moderator.

Code

function _revisioning_insert_msg($node) {
  if ($node->status) {
    drupal_set_message(t('Initial revision created and published.'));
  }
  else {
    drupal_set_message(t('Initial draft created, pending publication.'));
  }
}