X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Flib%2FRT%2FCrypt%2FGnuPG.pm;fp=rt%2Flib%2FRT%2FCrypt%2FGnuPG.pm;h=314e6cc382c3bdfe50202a8c5d236943398235b2;hb=75162bb14b3e38d66617077843f4dfdcaf09d5c4;hp=29dd2a9fe06417690127eaeabb228bcf77ed2f68;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/lib/RT/Crypt/GnuPG.pm b/rt/lib/RT/Crypt/GnuPG.pm index 29dd2a9fe..314e6cc38 100644 --- a/rt/lib/RT/Crypt/GnuPG.pm +++ b/rt/lib/RT/Crypt/GnuPG.pm @@ -2463,15 +2463,7 @@ sub _make_gpg_handles { return ($handles, \%handle_map); } -eval "require RT::Crypt::GnuPG_Vendor"; -if ($@ && $@ !~ qr{^Can't locate RT/Crypt/GnuPG_Vendor.pm}) { - die $@; -}; - -eval "require RT::Crypt::GnuPG_Local"; -if ($@ && $@ !~ qr{^Can't locate RT/Crypt/GnuPG_Local.pm}) { - die $@; -}; +RT::Base->_ImportOverlays(); # helper package to avoid using temp file package IO::Handle::CRLF;