summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-07-12 12:31:33 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-07-12 12:31:33 +0200
commitaf00a1591412655202a634fbca999b80b97a676e (patch)
treefeab26c527a496b971334347385d1bd242b1aebc /app/models
parente270366d844d27ba55b96fb589b8505502c76a08 (diff)
downloadgitlab-ce-af00a1591412655202a634fbca999b80b97a676e.tar.gz
Remove unused `stop_action?` method from deployment classfix/gb/rename-environments-stop-actions
Diffstat (limited to 'app/models')
-rw-r--r--app/models/deployment.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/deployment.rb b/app/models/deployment.rb
index ac86e9e8de0..687246b47b2 100644
--- a/app/models/deployment.rb
+++ b/app/models/deployment.rb
@@ -92,10 +92,6 @@ class Deployment < ActiveRecord::Base
@stop_action ||= manual_actions.find_by(name: on_stop)
end
- def stop_action?
- stop_action.present?
- end
-
def formatted_deployment_time
created_at.to_time.in_time_zone.to_s(:medium)
end