diff options
author | James Edwards-Jones <jamedjo@gmail.com> | 2018-02-23 04:25:42 +0300 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2018-03-16 01:52:24 +0300 |
commit | 3185b87c7454e4e4b7d81f72bb5b35fd2a0000da (patch) | |
tree | 05b84c46a88deca904c9dd823bf73f27af127519 /app/models/project_services | |
parent | 7834f63c07dd52965e3aa30262d2b8f130c955aa (diff) |
Removed unused `Service#disabled_title` methods
Diffstat (limited to 'app/models/project_services')
-rw-r--r-- | app/models/project_services/jira_service.rb | 5 | ||||
-rw-r--r-- | app/models/project_services/pipelines_email_service.rb | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/app/models/project_services/jira_service.rb b/app/models/project_services/jira_service.rb index 436a870b0c4..09b784fa23b 100644 --- a/app/models/project_services/jira_service.rb +++ b/app/models/project_services/jira_service.rb @@ -159,11 +159,6 @@ class JiraService < IssueTrackerService add_comment(data, jira_issue) end - # reason why service cannot be tested - def disabled_title - "Please fill in Password and Username." - end - def test(_) result = test_settings success = result.present? diff --git a/app/models/project_services/pipelines_email_service.rb b/app/models/project_services/pipelines_email_service.rb index 9c7b58dead5..4cf149ac044 100644 --- a/app/models/project_services/pipelines_email_service.rb +++ b/app/models/project_services/pipelines_email_service.rb @@ -39,10 +39,6 @@ class PipelinesEmailService < Service project.pipelines.any? end - def disabled_title - 'Please setup a pipeline on your repository.' - end - def test_data(project, user) data = Gitlab::DataBuilder::Pipeline.build(project.pipelines.last) data[:user] = user.hook_attrs |