From 6eae0901a9c3ddb7b648860b3d38489768deab69 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Sun, 22 Oct 2023 08:21:32 +0000 Subject: [PATCH] Fix condition to display active job queue check only for production environment (#36695). git-svn-id: https://svn.redmine.org/redmine/trunk@22364 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/admin_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index d365d3519..5f46442f7 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -85,6 +85,6 @@ class AdminController < ApplicationController [:text_convert_available, Redmine::Thumbnail.convert_available?], [:text_gs_available, Redmine::Thumbnail.gs_available?] ] - @checklist << [:text_default_active_job_queue_changed, Rails.application.config.active_job.queue_adapter == :asyncs] #if Rails.env == 'production' + @checklist << [:text_default_active_job_queue_changed, Rails.application.config.active_job.queue_adapter == :asyncs] if Rails.env.production? end end