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
0275c26e
Commit
0275c26e
authored
Jan 07, 2019
by
Michael Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Invert method for readability
parent
375f4745
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ee/app/helpers/ee/user_callouts_helper.rb
ee/app/helpers/ee/user_callouts_helper.rb
+4
-4
No files found.
ee/app/helpers/ee/user_callouts_helper.rb
View file @
0275c26e
...
...
@@ -44,20 +44,20 @@ module EE
def
show_enable_hashed_storage_warning?
return
if
user_dismissed?
(
GEO_ENABLE_HASHED_STORAGE
)
hashed_storage_dis
abled?
!
hashed_storage_en
abled?
end
def
show_migrate_hashed_storage_warning?
return
if
user_dismissed?
(
GEO_MIGRATE_HASHED_STORAGE
)
return
if
hashed_storage_dis
abled?
return
unless
hashed_storage_en
abled?
any_project_not_in_hashed_storage?
end
private
def
hashed_storage_
dis
abled?
!
::
Gitlab
::
CurrentSettings
.
current_application_settings
.
hashed_storage_enabled
def
hashed_storage_
en
abled?
::
Gitlab
::
CurrentSettings
.
current_application_settings
.
hashed_storage_enabled
end
def
any_project_not_in_hashed_storage?
...
...
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