Commit 0a7d358e authored by Jarka Košanová's avatar Jarka Košanová

Move base supports_weight to Issuable

parent 4412bcc0
...@@ -184,6 +184,10 @@ module Issuable ...@@ -184,6 +184,10 @@ module Issuable
assignees.count > 1 assignees.count > 1
end end
def supports_weight?
false
end
private private
def description_max_length_for_new_records_is_valid def description_max_length_for_new_records_is_valid
......
...@@ -240,10 +240,6 @@ module EE ...@@ -240,10 +240,6 @@ module EE
nil nil
end end
def supports_weight?
false
end
def upcoming? def upcoming?
start_date&.future? start_date&.future?
end end
......
...@@ -124,10 +124,6 @@ module EE ...@@ -124,10 +124,6 @@ module EE
project.feature_available?(:multiple_merge_request_assignees) project.feature_available?(:multiple_merge_request_assignees)
end end
def supports_weight?
false
end
def visible_blocking_merge_requests(user) def visible_blocking_merge_requests(user)
Ability.merge_requests_readable_by_user(blocking_merge_requests, user) Ability.merge_requests_readable_by_user(blocking_merge_requests, user)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment