Skip to content
Snippets Groups Projects
Commit eb865bf3 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

update_service: remove trailing whitespace

parent 9e33ca1c
No related branches found
No related tags found
1 merge request!4949docs: fix some typos
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment