Issue #813146 by bleen18: remove variable cruft in node_submit function

merge-requests/26/head
Jennifer Hodgdon 2012-05-04 12:40:03 -07:00
parent 59ce4ef9c8
commit 4b39ca547d
1 changed files with 0 additions and 2 deletions

View File

@ -1002,8 +1002,6 @@ function node_validate($node, $form, &$form_state) {
* Prepare node for saving by populating author and creation date.
*/
function node_submit($node) {
global $user;
// A user might assign the node author by entering a user name in the node
// form, which we then need to translate to a user ID.
if (isset($node->name)) {