summaryrefslogtreecommitdiff
path: root/lib/api/projects.rb
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2016-01-08 14:31:39 +0100
committerYorick Peterse <yorickpeterse@gmail.com>2016-01-08 14:31:39 +0100
commit8d7a968d6dbc70d31953bac5262c86c4ca9dc7d9 (patch)
tree4950a0162fefed74561f74348d093c1e37be4bb3 /lib/api/projects.rb
parent61561a9eeb1dbb8273a1e8c8a5f37c0c01917c99 (diff)
downloadgitlab-ce-8d7a968d6dbc70d31953bac5262c86c4ca9dc7d9.tar.gz
Handle missing DBs in connect_to_db?
This ensures CurrentSettings#connect_to_db? returns "false" in the event of a database not existing, instead of raising an error.
Diffstat (limited to 'lib/api/projects.rb')
0 files changed, 0 insertions, 0 deletions