summaryrefslogtreecommitdiffstats
path: root/app/models/issue_status.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-04 11:40:17 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-04 11:40:17 +0000
commit7535c211d5e660a7a65ee91e33f14881027836a7 (patch)
tree08e6cef18c43382aff2f77cc10552f5dd1897759 /app/models/issue_status.rb
parentd46e3a501e7bad4242d896de36f02c19b8781143 (diff)
downloadredmine-7535c211d5e660a7a65ee91e33f14881027836a7.tar.gz
redmine-7535c211d5e660a7a65ee91e33f14881027836a7.zip
Removed IssueStatus html_color attribute.
Issue list colorization can be done using a custom theme. Each row is given a class that correspond to the issue status (eg. status-1 where 1 is the status position). git-svn-id: http://redmine.rubyforge.org/svn/trunk@881 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue_status.rb')
-rw-r--r--app/models/issue_status.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/issue_status.rb b/app/models/issue_status.rb
index 62b2cb762..a5d228405 100644
--- a/app/models/issue_status.rb
+++ b/app/models/issue_status.rb
@@ -24,8 +24,6 @@ class IssueStatus < ActiveRecord::Base
validates_uniqueness_of :name
validates_length_of :name, :maximum => 30
validates_format_of :name, :with => /^[\w\s\'\-]*$/i
- validates_length_of :html_color, :is => 6
- validates_format_of :html_color, :with => /^[a-f0-9]*$/i
def before_save
IssueStatus.update_all "is_default=#{connection.quoted_false}" if self.is_default?