[Bps-public-commit] r9440 - RT-Extension-SLA/lib/RT/Extension

ruz at bestpractical.com ruz at bestpractical.com
Wed Oct 24 17:20:00 EDT 2007


Author: ruz
Date: Wed Oct 24 17:20:00 2007
New Revision: 9440

Modified:
   RT-Extension-SLA/lib/RT/Extension/SLA.pm

Log:
* add support of 'StartImmediately'

Modified: RT-Extension-SLA/lib/RT/Extension/SLA.pm
==============================================================================
--- RT-Extension-SLA/lib/RT/Extension/SLA.pm	(original)
+++ RT-Extension-SLA/lib/RT/Extension/SLA.pm	Wed Oct 24 17:20:00 2007
@@ -105,6 +105,9 @@
             $RT::Logger->error("Levels of SLA should be either number or hash ref");
             next;
         }
+        if ( $meta->{'StartImmediately'} ) {
+            $props{'StartImmediately'} = $meta->{'StartImmediately'};
+        }
 
         if ( $out_of_hours and my $tmp = $meta->{ 'OutOfHours' }{ $args{'Type'} } ) {
             foreach ( qw(RealMinutes BusinessMinutes) ) {



More information about the Bps-public-commit mailing list