Commit 7b2c4538 authored by Alper Akgun's avatar Alper Akgun

Remove unused with_archived_trace scope

parent 13827375
......@@ -119,10 +119,6 @@ module Ci
where('EXISTS (?)', ::Ci::JobArtifact.select(1).where('ci_builds.id = ci_job_artifacts.job_id').merge(query))
end
scope :with_archived_trace, -> do
with_existing_job_artifacts(Ci::JobArtifact.trace)
end
scope :without_archived_trace, -> do
where('NOT EXISTS (?)', Ci::JobArtifact.select(1).where('ci_builds.id = ci_job_artifacts.job_id').trace)
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