diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb index 93dbc6957a6..d69643967a1 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -111,10 +111,6 @@ module Ci self.when == 'manual' end - def barrier? - action? && !allow_failure? - end - def has_commands? commands.present? end