summaryrefslogtreecommitdiffstats
path: root/app/models/group.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/group.rb')
-rw-r--r--app/models/group.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/group.rb b/app/models/group.rb
index 5d49a138a..61165bf7b 100644
--- a/app/models/group.rb
+++ b/app/models/group.rb
@@ -68,7 +68,6 @@ class Group < Principal
MemberRole.
includes(:member).
where("#{Member.table_name}.user_id = ? AND #{MemberRole.table_name}.inherited_from IN (?)", user.id, member.member_role_ids).
- all.
each(&:destroy)
end
end