diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-14 16:16:00 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-14 16:16:00 +0300 |
commit | cb5362e7ce0496e4fa7bec4ae629fd24e93d721e (patch) | |
tree | 4375ae5e99f11d51032559a95c12f1491bcd9e1f /app/models/members | |
parent | 0013ea5130494326f37fb1d6988a369fa2c91d22 (diff) |
Follow newline guidelines.
Diffstat (limited to 'app/models/members')
-rw-r--r-- | app/models/members/project_member.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/members/project_member.rb b/app/models/members/project_member.rb index ce704a60d63..0a3b4d2182b 100644 --- a/app/models/members/project_member.rb +++ b/app/models/members/project_member.rb @@ -80,6 +80,7 @@ class ProjectMember < Member def truncate_teams(project_ids) ProjectMember.transaction do members = ProjectMember.where(source_id: project_ids) + members.each do |member| member.destroy end |