update_service: remove trailing whitespace
This commit is contained in:
parent
9e33ca1c0b
commit
eb865bf383
|
@ -6,7 +6,7 @@ module Projects
|
|||
if new_visibility && new_visibility.to_i != project.visibility_level
|
||||
unless can?(current_user, :change_visibility_level, project) &&
|
||||
Gitlab::VisibilityLevel.allowed_for?(current_user, new_visibility)
|
||||
|
||||
|
||||
deny_visibility_level(project, new_visibility)
|
||||
return project
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue