X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FAction%2FSetPriority.pm;h=99763027d12a2b72204d9cd4abf9ccb0f1e5a2e2;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hp=bdd50a37476255f7389d3dc601824346479c1d15;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/rt/lib/RT/Action/SetPriority.pm b/rt/lib/RT/Action/SetPriority.pm index bdd50a374..99763027d 100644 --- a/rt/lib/RT/Action/SetPriority.pm +++ b/rt/lib/RT/Action/SetPriority.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -50,25 +50,22 @@ package RT::Action::SetPriority; 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 set a ticket's priority to the argument provided."); } -# }}} -# {{{ sub Prepare sub Prepare { # nothing to prepare return 1; } -# }}} sub Commit { my $self = shift; @@ -76,9 +73,6 @@ sub Commit { } -eval "require RT::Action::SetPriority_Vendor"; -die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/SetPriority_Vendor.pm}); -eval "require RT::Action::SetPriority_Local"; -die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/SetPriority_Local.pm}); +RT::Base->_ImportOverlays(); 1;