diff --git a/modules/node/node.module b/modules/node/node.module index fb3756de23f1f369c23ad8e871ca3e343d59cc88..a002e24c31fb773116bc36c101c1c21fce0cfb23 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);