From 670029a8e7b0aa32fc6336caf29b65fcabe2829c Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 31 Jul 2018 23:49:38 -0400 Subject: Fix a module loading problem --- Bugzilla/Quantum/Plugin/Glue.pm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Bugzilla/Quantum/Plugin/Glue.pm') diff --git a/Bugzilla/Quantum/Plugin/Glue.pm b/Bugzilla/Quantum/Plugin/Glue.pm index ea21429bd..ded4daf15 100644 --- a/Bugzilla/Quantum/Plugin/Glue.pm +++ b/Bugzilla/Quantum/Plugin/Glue.pm @@ -67,13 +67,7 @@ sub register { } ); - Bugzilla::Extension->load_all(); - if ( $app->mode ne 'development' ) { - Bugzilla->preload_features(); - DEBUG('preloading templates'); - Bugzilla->preload_templates(); - DEBUG('done preloading templates'); - } + $app->secrets( [ Bugzilla->localconfig->{side_wide_secret} ] ); $app->renderer->add_handler( -- cgit v1.2.3-24-g4f1b