summaryrefslogtreecommitdiff
path: root/rt/lib/RT/Config.pm
diff options
context:
space:
mode:
authorivan <ivan>2011-04-19 00:23:57 +0000
committerivan <ivan>2011-04-19 00:23:57 +0000
commit71449abb58df547f3c872cd64af733e6d3fa7f81 (patch)
tree03c452d9d68db46f43a0833fcd64a209b320b988 /rt/lib/RT/Config.pm
parent96d552cc782670bfd48b7e6a81ffe3515dffd3e6 (diff)
landing 3.8.10 on 2.1 branch
Diffstat (limited to 'rt/lib/RT/Config.pm')
-rw-r--r--rt/lib/RT/Config.pm13
1 files changed, 3 insertions, 10 deletions
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;