node_save() doesn't return anything. $new_node is not used anywhere either.

-K

CommentFileSizeAuthor
#1 node.module_28.patch1.8 KBZen
node.module_27.patch1.15 KBZen
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Zen’s picture

FileSize
1.8 KB

Moved comment to phpdoc block. Added a similar comment to node_revision_delete() for consistency.

-K

Zen’s picture

Status: Needs review » Fixed

Patch appears to have been committed.

-K

Anonymous’s picture

Status: Fixed » Closed (fixed)