Browse Source

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
tags/5.1.0
Marius Balteanu 7 months ago
parent
commit
6eae0901a9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/controllers/admin_controller.rb

+ 1
- 1
app/controllers/admin_controller.rb View File

@@ -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

Loading…
Cancel
Save