Commit 72647eda authored by Rémy Coutable's avatar Rémy Coutable

Don't require Gitlab::Redis in mail_room.yml if it's already defined

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent cfc99bbd
......@@ -2,7 +2,7 @@
<%
require "yaml"
require "json"
require_relative "lib/gitlab/redis"
require_relative "lib/gitlab/redis" unless defined?(Gitlab::Redis)
rails_env = ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment