diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-03-16 15:56:51 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-03-16 15:56:51 +0300 |
commit | 132675802590fec52346b77188b35a7c0b34853a (patch) | |
tree | f0caa17fb6b506b013ce7d5c22f5e141848ad9ad /app/models/service.rb | |
parent | fd4bb1e3142bb1e9309f7b0c93cd8e8002ef8192 (diff) | |
parent | 3185b87c7454e4e4b7d81f72bb5b35fd2a0000da (diff) |
Merge branch '43522-technical-debt-service-disabled_title' into 'master'
Resolve "Technical debt: `Service#disabled_title` no longer used and is left dangling in `services/_form.html.haml`"
Closes #43522
See merge request gitlab-org/gitlab-ce!17305
Diffstat (limited to 'app/models/service.rb')
-rw-r--r-- | app/models/service.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/service.rb b/app/models/service.rb index 99bf757ae44..2556db68146 100644 --- a/app/models/service.rb +++ b/app/models/service.rb @@ -162,11 +162,6 @@ class Service < ActiveRecord::Base true end - # reason why service cannot be tested - def disabled_title - "Please setup a project repository." - end - # Provide convenient accessor methods # for each serialized property. # Also keep track of updated properties in a similar way as ActiveModel::Dirty |