diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-03-20 14:27:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-20 14:27:33 +0100 |
commit | 293a5bd57b3a50c5130c299b3f53b357f683a33e (patch) | |
tree | 535ba7d212765aaf1aef8acd2f5b81c13f1eeed9 /extensions/PhabBugz/lib/Daemon.pm | |
parent | 1121193471e2f6f6b7d4e5c27a465f476f7f100f (diff) | |
download | bugzilla-293a5bd57b3a50c5130c299b3f53b357f683a33e.tar.gz bugzilla-293a5bd57b3a50c5130c299b3f53b357f683a33e.tar.xz |
Bug 1447291 - Remove Apache2::Log from PhabBugs/Push in favor of logging framework
Diffstat (limited to 'extensions/PhabBugz/lib/Daemon.pm')
-rw-r--r-- | extensions/PhabBugz/lib/Daemon.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/extensions/PhabBugz/lib/Daemon.pm b/extensions/PhabBugz/lib/Daemon.pm index c8b4f73af..ef4a00534 100644 --- a/extensions/PhabBugz/lib/Daemon.pm +++ b/extensions/PhabBugz/lib/Daemon.pm @@ -13,7 +13,6 @@ use warnings; use Bugzilla::Constants; use Bugzilla::Extension::PhabBugz::Feed; -use Bugzilla::Extension::PhabBugz::Logger; use Carp qw(confess); use Daemon::Generic; @@ -89,11 +88,9 @@ sub gd_setup_signals { sub gd_run { my $self = shift; - $::SIG{__DIE__} = \&Carp::confess if $self->{debug}; + $SIG{__DIE__} = \&Carp::confess if $self->{debug}; my $phabbugz = Bugzilla::Extension::PhabBugz::Feed->new(); $phabbugz->is_daemon(1); - $phabbugz->logger( - Bugzilla::Extension::PhabBugz::Logger->new(debugging => $self->{debug})); $phabbugz->start(); } |