diff options
author | Robert Speicher <rspeicher@gmail.com> | 2018-12-14 16:58:57 -0600 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-12-16 20:40:35 -0500 |
commit | 7a07be5693f6dad1b27e568fc3961f5307f7012f (patch) | |
tree | e8b4869d0b813d2fd8a62891b5409da6ca9d61e7 /app/services/groups | |
parent | 8b4602041cf2c4a8738a4796d78720017249249f (diff) | |
download | gitlab-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.rb | 2 |
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? |