Commit 95e60690 authored by Alper Akgun's avatar Alper Akgun

Remove only_opened scope

parent bff6c914
...@@ -92,7 +92,6 @@ module Issuable ...@@ -92,7 +92,6 @@ module Issuable
scope :recent, -> { reorder(id: :desc) } scope :recent, -> { reorder(id: :desc) }
scope :of_projects, ->(ids) { where(project_id: ids) } scope :of_projects, ->(ids) { where(project_id: ids) }
scope :opened, -> { with_state(:opened) } scope :opened, -> { with_state(:opened) }
scope :only_opened, -> { with_state(:opened) }
scope :closed, -> { with_state(:closed) } scope :closed, -> { with_state(:closed) }
# rubocop:disable GitlabSecurity/SqlInjection # rubocop:disable GitlabSecurity/SqlInjection
......
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