diff options
author | 🙈 jacopo beschi 🙉 <intrip@gmail.com> | 2018-02-14 15:01:12 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-02-14 15:01:12 +0300 |
commit | 1f3849b00fcfad54c4b0fe1e9a185d7bddda8f4c (patch) | |
tree | 987ec395b8aa1e57baf38c80e265f216993652ed /app/services/members | |
parent | 1c91c4e3f7009d6e50ba046aff7b672a0f761d41 (diff) |
Resolve "Remove notification settings for groups and projects you were previously a member of"
Diffstat (limited to 'app/services/members')
-rw-r--r-- | app/services/members/authorized_destroy_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/members/authorized_destroy_service.rb b/app/services/members/authorized_destroy_service.rb index de3a252d6c6..2e89f00dad8 100644 --- a/app/services/members/authorized_destroy_service.rb +++ b/app/services/members/authorized_destroy_service.rb @@ -11,6 +11,7 @@ module Members Member.transaction do unassign_issues_and_merge_requests(member) unless member.invite? + member.notification_setting&.destroy member.destroy end |