diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-01-08 14:31:39 +0100 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-01-08 14:31:39 +0100 |
commit | 8d7a968d6dbc70d31953bac5262c86c4ca9dc7d9 (patch) | |
tree | 4950a0162fefed74561f74348d093c1e37be4bb3 /lib/api/projects.rb | |
parent | 61561a9eeb1dbb8273a1e8c8a5f37c0c01917c99 (diff) | |
download | gitlab-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