node_save_action

Definition

node_save_action($node)
files/drupal-6.7/modules/node/node.module, line 2650

Description

Implementation of a Drupal action. Saves a node.

Code

<?php
function node_save_action($node) {
  node_save($node);
  watchdog('action', 'Saved @type %title', array('@type' => node_get_types('name', $node), '%title' => $node->title));
}
?>