]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Config.pm
cgit: fix fallout from lazy coderepo loading
[public-inbox.git] / lib / PublicInbox / Config.pm
index 1037c88495b92d05f012c3e85908ec5b1aaf451b..228de4ffe88f631fbccbaee594087a8680adcafd 100644 (file)
@@ -323,10 +323,6 @@ sub _fill_code_repo {
        my ($self, $nick) = @_;
        my $pfx = "coderepo.$nick";
 
-       # TODO: support gitweb and other repository viewers?
-       if (defined(my $cgitrc = delete $self->{-cgitrc_unparsed})) {
-               parse_cgitrc($self, $cgitrc, 0);
-       }
        my $dir = $self->{"$pfx.dir"}; # aka "GIT_DIR"
        unless (defined $dir) {
                warn "$pfx.dir unset\n";