From bd76cdc97b5883ee801149a6b37a9ad78e79d164 Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Mon, 5 Jun 2017 10:18:12 +0200 Subject: [PATCH] Remove legacy method from pipeline class --- app/models/ci/pipeline.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb index fb1d4720ba8..e84693bcf3a 100644 --- a/app/models/ci/pipeline.rb +++ b/app/models/ci/pipeline.rb @@ -285,17 +285,6 @@ module Ci end end - ## - # TODO, phase this method out - # - def config_builds_attributes - return [] unless config_processor - - config_processor. - builds_for_ref(ref, tag?, trigger_requests.first). - sort_by { |build| build[:stage_idx] } - end - def stage_seeds return [] unless config_processor