Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
78edcc26
Commit
78edcc26
authored
Apr 25, 2019
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to override Gitlab.ee? with IS_GITLAB_EE
(cherry picked from commit f3b74d59865a88be67663339447667c725961413)
parent
5990d422
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
lib/gitlab.rb
lib/gitlab.rb
+5
-1
No files found.
lib/gitlab.rb
View file @
78edcc26
...
...
@@ -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?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment