diff options
author | ivan <ivan> | 2011-04-18 23:49:54 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-04-18 23:49:54 +0000 |
commit | 01f60974743197ac14e569c16c68a0c2ff3a5bd4 (patch) | |
tree | 140ae6bfc2a89a2b635c81859a74eff5587ef71a /rt/lib/RT/Config.pm | |
parent | b5c4237a34aef94976bc343c8d9e138664fc3984 (diff) |
commiting rt 3.8.10 to HEAD
Diffstat (limited to 'rt/lib/RT/Config.pm')
-rw-r--r-- | rt/lib/RT/Config.pm | 13 |
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; |