[Rt-commit] r18895 - rt/3.999/branches/datetime/lib/RT/Condition

sartak at bestpractical.com sartak at bestpractical.com
Fri Mar 20 15:26:35 EDT 2009


Author: sartak
Date: Fri Mar 20 15:26:35 2009
New Revision: 18895

Modified:
   rt/3.999/branches/datetime/lib/RT/Condition/BeforeDue.pm

Log:
Remove the last set_to_now call

Modified: rt/3.999/branches/datetime/lib/RT/Condition/BeforeDue.pm
==============================================================================
--- rt/3.999/branches/datetime/lib/RT/Condition/BeforeDue.pm	(original)
+++ rt/3.999/branches/datetime/lib/RT/Condition/BeforeDue.pm	Fri Mar 20 15:26:35 2009
@@ -63,7 +63,6 @@
     my $elapse = $e{'d'} * 24 * 60 * 60 + $e{'h'} * 60 * 60 + $e{'m'} * 60 + $e{'s'};
 
     my $cur = RT::DateTime->now;
-    $cur->set_to_now();
     my $due = $self->ticket_obj->due;
     return (undef) if $due->epoch <= 0;
 


More information about the Rt-commit mailing list