Index: modules/node/node.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.module,v
retrieving revision 1.715
diff -u -p -r1.715 node.module
--- modules/node/node.module	23 Oct 2006 20:45:08 -0000	1.715
+++ modules/node/node.module	23 Oct 2006 23:21:16 -0000
@@ -2158,22 +2158,14 @@ function node_form_submit($form_id, $for
 
   // Prepare the node's body:
   if ($node->nid) {
-    // Check whether the current user has the proper access rights to
-    // perform this operation:
-    if (node_access('update', $node)) {
-      node_save($node);
-      watchdog('content', t('@type: updated %title.', array('@type' => t($node->type), '%title' => $node->title)), WATCHDOG_NOTICE, l(t('view'), 'node/'. $node->nid));
-      drupal_set_message(t('The %post has been updated.', array ('%post' => node_get_types('name', $node))));
-    }
+    node_save($node);
+    watchdog('content', t('@type: updated %title.', array('@type' => t($node->type), '%title' => $node->title)), WATCHDOG_NOTICE, l(t('view'), 'node/'. $node->nid));
+    drupal_set_message(t('The %post has been updated.', array ('%post' => node_get_types('name', $node))));
   }
   else {
-    // Check whether the current user has the proper access rights to
-    // perform this operation:
-    if (node_access('create', $node)) {
-      node_save($node);
-      watchdog('content', t('@type: added %title.', array('@type' => t($node->type), '%title' => $node->title)), WATCHDOG_NOTICE, l(t('view'), "node/$node->nid"));
-      drupal_set_message(t('Your %post has been created.', array ('%post' => node_get_types('name', $node))));
-    }
+    node_save($node);
+    watchdog('content', t('@type: added %title.', array('@type' => t($node->type), '%title' => $node->title)), WATCHDOG_NOTICE, l(t('view'), "node/$node->nid"));
+    drupal_set_message(t('Your %post has been created.', array ('%post' => node_get_types('name', $node))));
   }
   if ($node->nid) {
     if (node_access('view', $node)) {
