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

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2016-06-10 13:44:45 +02:00
parent cfc99bbd13
commit 72647eda31
No known key found for this signature in database
GPG key ID: 46DF07E5CD9E96AB

View file

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