diff options
author | mark <mark> | 2011-01-26 21:43:03 +0000 |
---|---|---|
committer | mark <mark> | 2011-01-26 21:43:03 +0000 |
commit | 9d5b7fa247a69a0d912eec2486014e689f0694cd (patch) | |
tree | 30df9cee106040c3ab0c4e0e048c109d0e8e36bd /rt/lib | |
parent | 9671d39084c2fad8c3a50c30d0bfaa7d5cd5baf2 (diff) |
clean up date customfield change
Diffstat (limited to 'rt/lib')
-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'} |