summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-07-12 11:03:54 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-07-12 11:03:54 +0000
commite27972be520d3f7579d0cde9f4e02e10d068aeb5 (patch)
treedb2468647c08fe76e825fa58e09b1d3f8d11e16d
parent20e0613293ebfad34d9677b5327c5b752eae5296 (diff)
downloadbrdo-e27972be520d3f7579d0cde9f4e02e10d068aeb5.tar.gz
brdo-e27972be520d3f7579d0cde9f4e02e10d068aeb5.tar.bz2
#157605 by Wim Leers: remove two lines of dead code from expand_date()
-rw-r--r--includes/form.inc2
1 files changed, 0 insertions, 2 deletions
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],