From e27972be520d3f7579d0cde9f4e02e10d068aeb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Thu, 12 Jul 2007 11:03:54 +0000 Subject: #157605 by Wim Leers: remove two lines of dead code from expand_date() --- includes/form.inc | 2 -- 1 file changed, 2 deletions(-) (limited to 'includes') diff --git a/includes/form.inc b/includes/form.inc index 40d8c4e7f..1eff0e66a 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -1386,8 +1386,6 @@ function expand_date($element) { $options = drupal_map_assoc(range(1900, 2050)); break; } - $parents = $element['#parents']; - $parents[] = $type; $element[$type] = array( '#type' => 'select', '#value' => $element['#value'][$type], -- cgit v1.2.3