From 58f390084b0112a286728e631c3f5ebd34128c32 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Sun, 8 Apr 2018 13:34:03 -0400 Subject: revert differences from bmo that are not needed --- Bugzilla/Template.pm | 2 +- mod_perl.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 20cdaa3ab..e6b4e551d 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -928,7 +928,7 @@ sub create { 'sudoer' => sub { return Bugzilla->sudoer; }, # Allow templates to access the "corect" URLBase value - 'urlbase' => sub { Bugzilla->urlbase }, + 'urlbase' => sub { return Bugzilla->localconfig->{urlbase}; }, # Allow templates to access docs url with users' preferred language 'docs_urlbase' => sub { diff --git a/mod_perl.pl b/mod_perl.pl index c64352600..a49af6b80 100644 --- a/mod_perl.pl +++ b/mod_perl.pl @@ -176,7 +176,7 @@ sub handler : method { DB::disable_profile(); DB::finish_profile(); } - #warn "[request_time] ", Bugzilla->cgi->request_uri, " took ", Time::HiRes::time() - $start, " seconds to execute"; + warn "[request_time] ", Bugzilla->cgi->request_uri, " took ", Time::HiRes::time() - $start, " seconds to execute"; # When returning data from the REST api we must only return 200 or 304, # which tells Apache not to append its error html documents to the -- cgit v1.2.3-24-g4f1b