summaryrefslogtreecommitdiff
path: root/app/services/groups
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2018-12-14 16:58:57 -0600
committerRobert Speicher <rspeicher@gmail.com>2018-12-16 20:40:35 -0500
commit7a07be5693f6dad1b27e568fc3961f5307f7012f (patch)
treee8b4869d0b813d2fd8a62891b5409da6ca9d61e7 /app/services/groups
parent8b4602041cf2c4a8738a4796d78720017249249f (diff)
downloadgitlab-ce-7a07be5693f6dad1b27e568fc3961f5307f7012f.tar.gz
Change deprecated `except!` usages
These can just be `delete` calls, with the caveat that it only takes one argument.
Diffstat (limited to 'app/services/groups')
-rw-r--r--app/services/groups/update_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/groups/update_service.rb b/app/services/groups/update_service.rb
index 0bf0e967dcc..31d3c844ad5 100644
--- a/app/services/groups/update_service.rb
+++ b/app/services/groups/update_service.rb
@@ -36,7 +36,7 @@ module Groups
end
def reject_parent_id!
- params.except!(:parent_id)
+ params.delete(:parent_id)
end
def valid_share_with_group_lock_change?