X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FAction%2FEscalatePriority.pm;h=38cad940707851895f896f34b41fd4de3dc15826;hb=e9e0cf0989259b94d9758eceff448666a2e5a5cc;hp=e15e50c8429e7db94430ac05667695a751d25103;hpb=fb4ab1073f0d15d660c6cdc4e07afebf68ef3924;p=freeside.git diff --git a/rt/lib/RT/Action/EscalatePriority.pm b/rt/lib/RT/Action/EscalatePriority.pm index e15e50c84..38cad9407 100644 --- a/rt/lib/RT/Action/EscalatePriority.pm +++ b/rt/lib/RT/Action/EscalatePriority.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -67,6 +67,9 @@ to final priority. In this way, priority is either increased or decreased toward the final priority as the ticket heads toward its due date. +Alternately, if you don't set a due date, the Priority will be incremented by 1 +until it reaches the Final Priority. If a ticket without a due date has a Priority +greater than Final Priority, it will be decremented by 1. =cut @@ -75,20 +78,18 @@ package RT::Action::EscalatePriority; use base 'RT::Action'; use strict; +use warnings; #Do what we need to do and send it out. #What does this type of Action does -# {{{ sub Describe sub Describe { my $self = shift; return (ref $self . " will move a ticket's priority toward its final priority."); } -# }}} -# {{{ sub Prepare sub Prepare { my $self = shift; @@ -152,7 +153,6 @@ sub Prepare { } return 1; } -# }}} sub Commit { my $self = shift;