summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-29 20:05:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-29 20:05:15 +0000
commit25e131f176f3162b60f3cedc846e94d59f3984b5 (patch)
tree167eef8207e3ce616c28bc7f40bc6c3a56b207df
parentf134e72fec4a8a479e1207bfc14d1d2ab72c817d (diff)
downloadredmine-25e131f176f3162b60f3cedc846e94d59f3984b5.tar.gz
redmine-25e131f176f3162b60f3cedc846e94d59f3984b5.zip
Remove duplicate validation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3110 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/issue.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 658c8efbf..d279f3c92 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -166,10 +166,6 @@ class Issue < ActiveRecord::Base
end
end
- def validate_on_create
- errors.add :tracker_id, :invalid unless project.trackers.include?(tracker)
- end
-
def before_create
# default assignment based on category
if assigned_to.nil? && category && category.assigned_to