summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2012-05-04 12:40:03 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2012-05-04 12:40:03 -0700
commit4b39ca547dbadc6f22c25dcadf00cc2951b28e6a (patch)
treed5977747499ab743ad755e2539242d9d0826b091 /modules/node
parent59ce4ef9c88be80ceb3fa9dd944fd85f03ecaebb (diff)
downloadbrdo-4b39ca547dbadc6f22c25dcadf00cc2951b28e6a.tar.gz
brdo-4b39ca547dbadc6f22c25dcadf00cc2951b28e6a.tar.bz2
Issue #813146 by bleen18: remove variable cruft in node_submit function
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/node.module2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 57133c6b0..9e20234ad 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -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)) {