From 7bbb6d24b2beab38b2889a59da69cfbf2e05e227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Mon, 15 Jun 2015 14:50:13 +0200 Subject: [PATCH] Duplicated email recipients in the info box --- app/models/dmsf_mailer.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/models/dmsf_mailer.rb b/app/models/dmsf_mailer.rb index 2acb69ec..55c3029f 100644 --- a/app/models/dmsf_mailer.rb +++ b/app/models/dmsf_mailer.rb @@ -1,7 +1,9 @@ +# encoding: utf-8 +# # Redmine plugin for Document Management System "Features" # # Copyright (C) 2011 Vít Jonáš -# Copyright (C) 2011-14 Karel Pičman +# Copyright (C) 2011-15 Karel Pičman # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -114,7 +116,7 @@ class DmsfMailer < Mailer end end - notify_members.collect { |m| m.user } + notify_members.collect { |m| m.user }.uniq end end \ No newline at end of file