- Patch #160579 by pwolanin: removed some dead code from node_form_submit().

6.x
Dries Buytaert 2007-07-20 08:45:07 +00:00
parent 0ddff5ee26
commit 1cd02d7ec1
1 changed files with 0 additions and 6 deletions

View File

@ -2387,12 +2387,6 @@ function node_form_submit($form, &$form_state) {
unset($form_state['submit_handlers']);
form_execute_handlers('submit', $form, $form_state);
// Normally, we don't want people doing anything even remotely like this.
// For the node submission form, however, it's necessary. Submit handlers
// alter the $form_state['values'] collection to determine what ultimately makes it
// into the final $node object.
$form_state['values'] = $form_state['values'];
// Fix up the node when required:
$node = node_submit($form_state['values']);