diff options
Diffstat (limited to 'modules/node/node.module')
-rw-r--r-- | modules/node/node.module | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index fb3756de2..a002e24c3 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -489,7 +489,6 @@ function node_type_load($name) { * Status flag indicating outcome of the operation. */ function node_type_save($info) { - $is_existing = FALSE; $existing_type = !empty($info->old_type) ? $info->old_type : $info->type; $is_existing = (bool) db_query_range('SELECT 1 FROM {node_type} WHERE type = :type', 0, 1, array(':type' => $existing_type))->fetchField(); $type = node_type_set_defaults($info); |