diff options
Diffstat (limited to 'app/models/group.rb')
-rw-r--r-- | app/models/group.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/group.rb b/app/models/group.rb index 21166f1af..c1106e07f 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -115,6 +115,7 @@ class Group < Principal return if self.id.nil? Issue.where(['assigned_to_id = ?', id]).update_all('assigned_to_id = NULL') + Watcher.where('user_id = ?', id).delete_all end end |