]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiXSearch.pm
lei: rely on localized $current_lei for warnings
[public-inbox.git] / lib / PublicInbox / LeiXSearch.pm
index d06b6f1d63ad4a7480a6324949278722fe606ed8..68889e813d89319424ea9907d4b115da8a157652 100644 (file)
@@ -8,7 +8,6 @@ package PublicInbox::LeiXSearch;
 use strict;
 use v5.10.1;
 use parent qw(PublicInbox::LeiSearch PublicInbox::IPC);
-use Sys::Syslog qw(syslog);
 
 sub new {
        my ($class) = @_;
@@ -187,12 +186,6 @@ sub do_query {
        }
 }
 
-sub ipc_atfork_child {
-       my ($self) = @_;
-       $SIG{__WARN__} = sub { syslog('warning', "@_") };
-       $self->SUPER::ipc_atfork_child; # PublicInbox::IPC
-}
-
 sub ipc_atfork_prepare {
        my ($self) = @_;
        $self->wq_set_recv_modes(qw[+<&= >&= >&= +<&=]);