/[drupal]/contributions/modules/revisioning/revisioning_triggers_actions.inc
ViewVC logotype

Diff of /contributions/modules/revisioning/revisioning_triggers_actions.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.7, Mon May 18 07:43:39 2009 UTC revision 1.8, Mon Jun 1 03:37:33 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: revisioning_triggers_actions.inc,v 1.6 2009/05/12 07:08:07 rdeboer Exp $  // $Id: revisioning_triggers_actions.inc,v 1.7 2009/05/18 07:43:39 rdeboer Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 88  function revisioning_action_info() { Line 88  function revisioning_action_info() {
88   */   */
89  function revisioning_publish_latest_revision_action(&$node, $context = array()) {  function revisioning_publish_latest_revision_action(&$node, $context = array()) {
90    $type = node_get_types('name', $node->type);    $type = node_get_types('name', $node->type);
91    watchdog('revisioning', 'Executing publish_latest_revision action for @type %title', array('@type' => $type, '%title' => $node->title),    watchdog('revisioning',
92             WATCHDOG_NOTICE, l(t('view'), "node/$node->nid"));      'Executing publish_latest_revision action for @type %title', array('@type' => $type, '%title' => $node->title),
93        WATCHDOG_NOTICE, l(t('view'), "node/$node->nid"));
94    revisioning_publish_latest_revision($node);    revisioning_publish_latest_revision($node);
95  }  }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.2