diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-02-21 08:37:41 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-02-21 08:37:41 +0000 |
commit | 890356a0b541837726cf38591a0bdf961d886b75 (patch) | |
tree | 54a6f54713aa810aa261b8873dc9521a81e11787 /modules/node.module | |
parent | 3698f857209370752ea652410bc3d359165ec6d7 (diff) | |
download | brdo-890356a0b541837726cf38591a0bdf961d886b75.tar.gz brdo-890356a0b541837726cf38591a0bdf961d886b75.tar.bz2 |
- Patch #50219 by pz: removed some redundant code.
Diffstat (limited to 'modules/node.module')
-rw-r--r-- | modules/node.module | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/node.module b/modules/node.module index 3ebcf729f..1495f9f01 100644 --- a/modules/node.module +++ b/modules/node.module @@ -1743,8 +1743,6 @@ function theme_node_form($form) { function node_add($type) { global $user; - $edit = isset($_POST['edit']) ? $_POST['edit'] : ''; - // If a node type has been specified, validate its existence. if (array_key_exists($type, node_get_types()) && node_access('create', $type)) { // Initialize settings: |