diff options
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r-- | app/models/issue.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 1c9a8d65e3d..831e618c5f1 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -274,11 +274,6 @@ class Issue < ApplicationRecord class << self extend ::Gitlab::Utils::Override - # Alias to state machine .with_state_id method - # This needs to be defined after the state machine block to avoid errors - alias_method :with_state, :with_state_id - alias_method :with_states, :with_state_ids - override :order_upvotes_desc def order_upvotes_desc reorder(upvotes_count: :desc) |