X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FAction%2FUserDefined.pm;h=2b8d9b794a8148c7c8ba222a3d5ab70bf1959d9d;hb=f2731f7f3883905cd17633f486d2aeb9593173da;hp=9c36504fabe64a58e76785e800c584dfe7a82001;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/lib/RT/Action/UserDefined.pm b/rt/lib/RT/Action/UserDefined.pm index 9c36504fa..2b8d9b794 100644 --- a/rt/lib/RT/Action/UserDefined.pm +++ b/rt/lib/RT/Action/UserDefined.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -50,6 +50,7 @@ package RT::Action::UserDefined; use base 'RT::Action'; use strict; +use warnings; =head2 Prepare @@ -83,10 +84,7 @@ sub Commit { return ($retval); } -eval "require RT::Action::UserDefined_Vendor"; -die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/UserDefined_Vendor.pm}); -eval "require RT::Action::UserDefined_Local"; -die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/UserDefined_Local.pm}); +RT::Base->_ImportOverlays(); 1;