Commit 1cd02d7e authored by Dries's avatar Dries
Browse files

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

parent 0ddff5ee
......@@ -2387,12 +2387,6 @@ function node_form_submit($form, &$form_state) {
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']);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment