diff options
Diffstat (limited to 'app/services/groups')
-rw-r--r-- | app/services/groups/transfer_service.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/services/groups/transfer_service.rb b/app/services/groups/transfer_service.rb index 16454360ee2..81d4dfddaab 100644 --- a/app/services/groups/transfer_service.rb +++ b/app/services/groups/transfer_service.rb @@ -197,6 +197,11 @@ module Groups return if @new_parent_group return unless @group.owners.empty? + add_owner_on_transferred_group + end + + # Overridden in EE + def add_owner_on_transferred_group @group.add_owner(current_user) end |