diff options
author | Andreas Brandl <abrandl@gitlab.com> | 2019-07-26 16:34:43 +0200 |
---|---|---|
committer | Andreas Brandl <abrandl@gitlab.com> | 2019-07-26 16:34:43 +0200 |
commit | cb0322db55ba82da4fb60015b24c0c671292c5ec (patch) | |
tree | 3b77f7a78e33018621e4d6b5f071d5f143715e4f | |
parent | 8bb367a23c36c7f3a2be88c62d99b3f33eb90798 (diff) | |
download | gitlab-ce-cb0322db55ba82da4fb60015b24c0c671292c5ec.tar.gz |
Re-add human adapter name Unknown
-rw-r--r-- | lib/gitlab/database.rb | 6 |
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 |