Commit 78edcc26 authored by Winnie Hellmann's avatar Winnie Hellmann

Allow to override Gitlab.ee? with IS_GITLAB_EE

(cherry picked from commit f3b74d59865a88be67663339447667c725961413)
parent 5990d422
......@@ -59,8 +59,12 @@ module Gitlab
end
def self.ee?
if ENV['IS_GITLAB_EE'].present?
Gitlab::Utils.to_boolean(ENV['IS_GITLAB_EE'])
else
Object.const_defined?(:License)
end
end
def self.process_name
return 'sidekiq' if Sidekiq.server?
......
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