X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Flib%2FRT%2FInstaller.pm;h=0cf4d01cce8428e7ae89487d732f32bdc1547679;hp=0779fa5999a26621062af6e670bec34fe433a1a8;hb=75162bb14b3e38d66617077843f4dfdcaf09d5c4;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941 diff --git a/rt/lib/RT/Installer.pm b/rt/lib/RT/Installer.pm index 0779fa599..0cf4d01cc 100644 --- a/rt/lib/RT/Installer.pm +++ b/rt/lib/RT/Installer.pm @@ -278,7 +278,7 @@ sub SaveConfig { { local $/; - open my $fh, '<', $file or die $!; + open( my $fh, '<', $file ) or die $!; $content = <$fh>; $content =~ s/^\s*1;\s*$//m; } @@ -326,15 +326,7 @@ C class provides access to RT Installer Meta =cut -eval "require RT::Installer_Vendor"; -if ($@ && $@ !~ qr{^Can't locate RT/Installer_Vendor.pm}) { - die $@; -}; - -eval "require RT::Installer_Local"; -if ($@ && $@ !~ qr{^Can't locate RT/Installer_Local.pm}) { - die $@; -}; +RT::Base->_ImportOverlays(); 1;