summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Brandl <abrandl@gitlab.com>2019-07-26 16:34:43 +0200
committerAndreas Brandl <abrandl@gitlab.com>2019-07-26 16:34:43 +0200
commitcb0322db55ba82da4fb60015b24c0c671292c5ec (patch)
tree3b77f7a78e33018621e4d6b5f071d5f143715e4f
parent8bb367a23c36c7f3a2be88c62d99b3f33eb90798 (diff)
downloadgitlab-ce-cb0322db55ba82da4fb60015b24c0c671292c5ec.tar.gz
Re-add human adapter name Unknown
-rw-r--r--lib/gitlab/database.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/gitlab/database.rb b/lib/gitlab/database.rb
index e73aa05b30f..cbdff0ab060 100644
--- a/lib/gitlab/database.rb
+++ b/lib/gitlab/database.rb
@@ -39,7 +39,11 @@ module Gitlab
end
def self.human_adapter_name
- 'PostgreSQL'
+ if postgresql?
+ 'PostgreSQL'
+ else
+ 'Unknown'
+ end
end
# @deprecated