diff options
author | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2019-06-09 02:51:41 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-06-09 04:33:16 +0000 |
commit | 7e24935c71e9d6e9a08e2afa56b55b74ddc957e9 (patch) | |
tree | 230580aa7f2eab4f898a7bee9b65be14f155d3ae | |
parent | 60321ef7c5e8c2abc395bebadadf77d789a06945 (diff) | |
download | public-inbox-7e24935c71e9d6e9a08e2afa56b55b74ddc957e9.tar.gz |
We no longer make -index warn on it, no other code uses it; and working on unconfigured inboxes is totally reasonable for admins who are setting things up.
-rw-r--r-- | lib/PublicInbox/Admin.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/PublicInbox/Admin.pm b/lib/PublicInbox/Admin.pm index 4a862c6d..419cb350 100644 --- a/lib/PublicInbox/Admin.pm +++ b/lib/PublicInbox/Admin.pm @@ -67,7 +67,7 @@ $ibx->{mainrepo} has unexpected indexlevel in Xapian: $m } sub resolve_inboxes { - my ($argv, $warn_on_unconfigured) = @_; + my ($argv) = @_; require PublicInbox::Config; require PublicInbox::Inbox; @@ -80,9 +80,6 @@ sub resolve_inboxes { my ($ibx) = @_; $dir2ibx{abs_path($ibx->{mainrepo})} = $ibx; }); - } elsif ($warn_on_unconfigured) { - # do we really care about this? It's annoying... - warn $warn_on_unconfigured, "\n"; } for my $i (0..$#ibxs) { my $dir = $ibxs[$i]; |