From 9d5b7fa247a69a0d912eec2486014e689f0694cd Mon Sep 17 00:00:00 2001 From: mark Date: Wed, 26 Jan 2011 21:43:03 +0000 Subject: [PATCH] clean up date customfield change --- rt/lib/RT/Tickets_Overlay.pm | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/rt/lib/RT/Tickets_Overlay.pm b/rt/lib/RT/Tickets_Overlay.pm index 9450e4d49..89d64c557 100644 --- a/rt/lib/RT/Tickets_Overlay.pm +++ b/rt/lib/RT/Tickets_Overlay.pm @@ -1372,11 +1372,6 @@ sub _CustomFieldLimit { ($queue, $field, $cf, $column) = $self->_CustomFieldDecipher( $field ); $cfid = $cf ? $cf->id : 0 ; - # Handle date custom fields specially - if ( $cf->Type eq 'Date' ) { - return $self->_DateCustomFieldLimit($_field, $op, $value, %rest); - } - # If we're trying to find custom fields that don't match something, we # want tickets where the custom field has no value at all. Note that # we explicitly don't include the "IS NULL" case, since we would @@ -2811,11 +2806,6 @@ sub LimitCustomField { $args{CUSTOMFIELD} = $CF->Id; } - # Handle special customfields types - if ($CF->Type eq 'Date') { - $args{FIELD} = 'DateCustomFieldValue'; - } - #If we are looking to compare with a null value. if ( $args{'OPERATOR'} =~ /^is$/i ) { $args{'DESCRIPTION'} -- 2.11.0