summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)) {