/[drupal]/contributions/modules/actions/node.module.patch
ViewVC logotype

Contents of /contributions/modules/actions/node.module.patch

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


Revision 1.2 - (show annotations) (download) (as text)
Sun Sep 21 02:16:25 2008 UTC (14 months ago) by jvandyk
Branch: MAIN
CVS Tags: DRUPAL-5--2-6, HEAD
Branch point for: DRUPAL-5--2
Changes since 1.1: +6 -6 lines
File MIME type: text/x-patch
Update node.module.patch for Drupal 5.10
1 Index: modules/node/node.module
2 ===================================================================
3 RCS file: /cvs/drupal/drupal/modules/node/node.module,v
4 retrieving revision 1.776.2.30
5 diff -u -p -r1.776.2.30 node.module
6 --- modules/node/node.module 16 Jul 2008 19:04:21 -0000 1.776.2.30
7 +++ modules/node/node.module 21 Sep 2008 02:13:45 -0000
8 @@ -601,6 +601,9 @@ function node_load($param = array(), $re
9 * Save a node object into the database.
10 */
11 function node_save(&$node) {
12 + // Let modules modify the node before it is saved to the database.
13 + node_invoke ($node, 'presave');
14 + node_invoke_nodeapi($node, 'presave');
15 global $user;
16
17 $node->is_new = FALSE;

  ViewVC Help
Powered by ViewVC 1.1.2