Commit dfbf879e authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch 'support-weight-refactor' into 'master'

Move base supports_weight to Issuable

See merge request gitlab-org/gitlab!33070
parents 1037d6f0 0a7d358e
...@@ -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
......
...@@ -122,10 +122,6 @@ module EE ...@@ -122,10 +122,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