summaryrefslogtreecommitdiff
path: root/app/presenters/ci
diff options
context:
space:
mode:
Diffstat (limited to 'app/presenters/ci')
-rw-r--r--app/presenters/ci/pipeline_presenter.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/presenters/ci/pipeline_presenter.rb b/app/presenters/ci/pipeline_presenter.rb
index 8f9e4fa707d..b8e74bf5509 100644
--- a/app/presenters/ci/pipeline_presenter.rb
+++ b/app/presenters/ci/pipeline_presenter.rb
@@ -2,10 +2,6 @@ module Ci
class PipelinePresenter < Gitlab::View::Presenter::Delegated
presents :pipeline
- def auto_canceled?
- canceled? && auto_canceled_by_id?
- end
-
def status_title
"Pipeline is redundant and is auto-canceled by Pipeline ##{auto_canceled_by_id}" if auto_canceled?
end