summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-10-03 18:35:36 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-10-03 18:35:36 +0800
commit9c2306006c58b42ba5d09bfca363bfcc22092a8e (patch)
tree550f3b36d753d7490a0de6ab0bea9a0906d3ee9f
parent705d210c737c53aa5df6a5ee21251c14db332208 (diff)
downloadgitlab-ce-9c2306006c58b42ba5d09bfca363bfcc22092a8e.tar.gz
Remove dead code
-rw-r--r--app/models/concerns/has_status.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/concerns/has_status.rb b/app/models/concerns/has_status.rb
index 21b2972b5a8..444a1610afa 100644
--- a/app/models/concerns/has_status.rb
+++ b/app/models/concerns/has_status.rb
@@ -68,8 +68,6 @@ module HasStatus
scope :skipped, -> { where(status: 'skipped') }
scope :running_or_pending, -> { where(status: [:running, :pending]) }
scope :finished, -> { where(status: [:success, :failed, :canceled]) }
- scope :exclude_ignored_jobs, -> do
- end
end
def started?