summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/Push/lib/Logger.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Push/lib/Logger.pm b/extensions/Push/lib/Logger.pm
index 68cec1e69..9824f3476 100644
--- a/extensions/Push/lib/Logger.pm
+++ b/extensions/Push/lib/Logger.pm
@@ -10,7 +10,6 @@ package Bugzilla::Extension::Push::Logger;
use strict;
use warnings;
-use Apache2::Log;
use Bugzilla::Extension::Push::Constants;
use Bugzilla::Extension::Push::LogEntry;
@@ -31,6 +30,7 @@ sub debugging {
}
sub _log_it {
+ require Apache2::Log;
my ($self, $method, $message) = @_;
return if $method eq 'DEBUG' && !$self->debugging;
chomp $message;