summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-05-22 14:14:17 +1200
committerThong Kuah <tkuah@gitlab.com>2019-05-24 14:40:12 +1200
commitf2e6aec0b84357e4d755e71aae9ebafa85df3220 (patch)
tree0a2db954222cc4670cb3c024f244bb2b0dcdff33 /app/models
parentf0efa2f91f8687a1cf0f39596790edaf338e8ec5 (diff)
downloadgitlab-ce-f2e6aec0b84357e4d755e71aae9ebafa85df3220.tar.gz
Remove un-used methods
These two methods were used in emitting AUTO_DEVOPS_DOMAIN which has now been dropped.
Diffstat (limited to 'app/models')
-rw-r--r--app/models/project_auto_devops.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/models/project_auto_devops.rb b/app/models/project_auto_devops.rb
index e71de1cdc65..90bcb3067f6 100644
--- a/app/models/project_auto_devops.rb
+++ b/app/models/project_auto_devops.rb
@@ -16,14 +16,6 @@ class ProjectAutoDevops < ApplicationRecord
after_save :create_gitlab_deploy_token, if: :needs_to_create_deploy_token?
- def instance_domain
- Gitlab::CurrentSettings.auto_devops_domain
- end
-
- def has_domain?
- domain.present? || instance_domain.present?
- end
-
def predefined_variables
Gitlab::Ci::Variables::Collection.new.tap do |variables|
variables.concat(deployment_strategy_default_variables)