X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FConfig.pm;fp=rt%2Flib%2FRT%2FConfig.pm;h=008afba7cbfe3c06cad0677e733d677b117cb8fe;hb=01f60974743197ac14e569c16c68a0c2ff3a5bd4;hp=e3bdbe90b442040ab75b259177410ea30cb2e48f;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git diff --git a/rt/lib/RT/Config.pm b/rt/lib/RT/Config.pm index e3bdbe90b..008afba7c 100644 --- a/rt/lib/RT/Config.pm +++ b/rt/lib/RT/Config.pm @@ -908,10 +908,11 @@ sub Meta { sub Sections { my $self = shift; my %seen; - return sort + my @sections = sort grep !$seen{$_}++, map $_->{'Section'} || 'General', values %META; + return @sections; } sub Options { @@ -940,14 +941,6 @@ sub Options { return @res; } -eval "require RT::Config_Vendor"; -if ($@ && $@ !~ qr{^Can't locate RT/Config_Vendor.pm}) { - die $@; -}; - -eval "require RT::Config_Local"; -if ($@ && $@ !~ qr{^Can't locate RT/Config_Local.pm}) { - die $@; -}; +RT::Base->_ImportOverlays(); 1;