diff options
author | mark <mark> | 2011-01-26 21:43:14 +0000 |
---|---|---|
committer | mark <mark> | 2011-01-26 21:43:14 +0000 |
commit | 356072795f66e41551651dfc282c071da1c69e10 (patch) | |
tree | d28c1879266dc0f8cd88790af80195f3a8e68174 | |
parent | cb2e8053f44e7dae3d7016d2e4427a69b6600a4e (diff) |
clean up date customfield change
-rw-r--r-- | rt/lib/RT/Tickets_Overlay.pm | 10 |
1 files changed, 0 insertions, 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'} |