diff options
Diffstat (limited to 'app/models/label.rb')
-rw-r--r-- | app/models/label.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/label.rb b/app/models/label.rb index 4c9f071f43a..7f4556c11c9 100644 --- a/app/models/label.rb +++ b/app/models/label.rb @@ -160,11 +160,6 @@ class Label < ApplicationRecord on_project_boards(project_id).where(id: label_id).exists? end - # Generate a hex color based on hex-encoded value - def self.color_for(value) - "##{Digest::MD5.hexdigest(value)[0..5]}" - end - def open_issues_count(user = nil) issues_count(user, state: 'opened') end |