summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2018-02-26 18:56:39 +0100
committerTomasz Maczukin <tomasz@maczukin.pl>2018-03-28 13:57:17 +0200
commitcb502b626659001af1e0ca82288a2b427e346d18 (patch)
treec937caf4cd33dfe9978624b7cfcbf3f4a262ed14 /app/models
parent3e7f3bc7980018910f6c6e7a19f706ad18ab2793 (diff)
downloadgitlab-ce-cb502b626659001af1e0ca82288a2b427e346d18.tar.gz
Remove unused method
Diffstat (limited to 'app/models')
-rw-r--r--app/models/ci/runner.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/ci/runner.rb b/app/models/ci/runner.rb
index baf57423682..413607e0eff 100644
--- a/app/models/ci/runner.rb
+++ b/app/models/ci/runner.rb
@@ -170,10 +170,6 @@ module Ci
end
end
- def defines_maximum_job_timeout?
- !maximum_job_timeout.nil? && maximum_job_timeout > 0
- end
-
private
def cleanup_runner_queue