Each category can now be associated to a user, so that new issues in that category are automatically assigned to that user.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@577 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2007-06-29 17:21:37 +00:00
1 parent f816d4f378
commit 87bad767c6
12 files changed
+84 -41

No files matched your search

+5
View File
@@ -26,4 +26,9 @@ class Member < ActiveRecord::Base
def name
self.user.display_name
end
def before_destroy
# remove category based auto assignments for this member
project.issue_categories.update_all "assigned_to_id = NULL", ["assigned_to_id = ?", self.user.id]
end
end