Skip to content

Commit

Permalink
fix circular dep
Browse files Browse the repository at this point in the history
  • Loading branch information
justdave authored and dylanwh committed Apr 28, 2024
1 parent d1c16a4 commit 971b54a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Bugzilla/Util.pm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ use base qw(Exporter);
get_text template_var disable_utf8
enable_utf8 detect_encoding email_filter
round extract_nicks);
use Bugzilla::Logging;
# Bugzilla::Logging cannot be used it this file due to circular dependency
#use Bugzilla::Logging;
use Bugzilla::Constants;
use Bugzilla::RNG qw(irand);

Expand Down Expand Up @@ -329,7 +330,6 @@ sub do_ssl_redirect_if_required {

# If we're already running under SSL, never redirect.
return if $ENV{HTTPS} && $ENV{HTTPS} eq 'on';
DEBUG("Redirect to HTTPS because \$ENV{HTTPS}=$ENV{HTTPS}");
Bugzilla->cgi->redirect_to_https();
}

Expand Down

0 comments on commit 971b54a

Please sign in to comment.