diff options
author | Eric Wong <e@80x24.org> | 2022-10-08 08:24:44 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2022-10-09 16:48:35 +0000 |
commit | 8bd0fadfe7fcc7c44a3478ffefede71f24319441 (patch) | |
tree | 8fd0d0c1b5d65fd102eaa3e7aabc57fd71fafe1f /lib/PublicInbox/Config.pm | |
parent | 5b39ed2b6b3d5d8c24240f1b1df8bfd751b0e6bc (diff) | |
download | public-inbox-8bd0fadfe7fcc7c44a3478ffefede71f24319441.tar.gz |
This field has been unneeded since commit 6890430df808 (cgit: fix fallout from lazy coderepo loading, 2021-03-18)
Diffstat (limited to 'lib/PublicInbox/Config.pm')
-rw-r--r-- | lib/PublicInbox/Config.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm index 42bd9438..5cdf182e 100644 --- a/lib/PublicInbox/Config.pm +++ b/lib/PublicInbox/Config.pm @@ -46,7 +46,6 @@ sub new { $self->{-no_obfuscate} = {}; $self->{-limiters} = {}; $self->{-code_repos} = {}; # nick => PublicInbox::Git object - $self->{-cgitrc_unparsed} = $self->{'publicinbox.cgitrc'}; if (my $no = delete $self->{'publicinbox.noobfuscate'}) { $no = _array($no); @@ -277,6 +276,7 @@ sub scan_projects_coderepo ($$$) { sub parse_cgitrc { my ($self, $cgitrc, $nesting) = @_; + $cgitrc //= $self->{'publicinbox.cgitrc'}; if ($nesting == 0) { # defaults: my %s = map { $_ => 1 } qw(/cgit.css /cgit.png |