[Rt-commit] r18630 - in rt/3.999/trunk: .
sartak at bestpractical.com
sartak at bestpractical.com
Mon Mar 2 21:50:06 EST 2009
Author: sartak
Date: Mon Mar 2 21:50:06 2009
New Revision: 18630
Modified:
rt/3.999/trunk/ (props changed)
rt/3.999/trunk/lib/RT/Model/Ticket.pm
Log:
r80810 at onn: sartak | 2009-03-02 21:50:00 -0500
We already do a fine job of canonicalizing dates for the db
Modified: rt/3.999/trunk/lib/RT/Model/Ticket.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/Model/Ticket.pm (original)
+++ rt/3.999/trunk/lib/RT/Model/Ticket.pm Mon Mar 2 21:50:06 2009
@@ -2590,15 +2590,6 @@
#Take care of the old value we really don't want to get in an ACL loop.
# so ask the super::_value
my $Old = $self->SUPER::_value( $args{'column'} );
- if ( $args{'column'} =~ /due|starts|started|told/ ) {
- # we want the real value in db, without filter
- my $date = RT::Date->new();
- $date->set(
- format => 'unknown',
- value => $Old,
- );
- $Old = $date->iso;
- }
if ( $Old && $args{'value'} && $Old eq $args{'value'} ) {
More information about the Rt-commit
mailing list