]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiIndex.pm
www_stream: note existence of IMAP and NNTP URLs
[public-inbox.git] / lib / PublicInbox / LeiIndex.pm
index 4be0c649b5cebe8df3d1a4fc336cd4364a9ebdd6..1b327a2c1bc81904928e818893c8c929abac0fee 100644 (file)
@@ -21,7 +21,7 @@ sub input_eml_cb { # used by input_maildir_cb and input_net_cb
 
 sub input_fh { # overrides PublicInbox::LeiInput::input_fh
        my ($self, $ifmt, $fh, $input, @args) = @_;
-       $self->{lei}->child_error(1<<8, <<EOM);
+       $self->{lei}->child_error(0, <<EOM);
 $input ($ifmt) not yet supported, try `lei import'
 EOM
 }
@@ -39,10 +39,8 @@ for my $m (qw(pmdir_cb input_net_cb)) {
        *$m = PublicInbox::LeiImport->can($m);
 }
 
-*_complete_import = \&PublicInbox::LeiImport::_complete_import;
+*_complete_index = \&PublicInbox::LeiImport::_complete_import;
 *ipc_atfork_child = \&PublicInbox::LeiInput::input_only_atfork_child;
 *net_merge_all_done = \&PublicInbox::LeiInput::input_only_net_merge_all_done;
 
-# the following works even when LeiAuth is lazy-loaded
-*net_merge_all = \&PublicInbox::LeiAuth::net_merge_all;
 1;