summaryrefslogtreecommitdiff
path: root/lib/api/commit_statuses.rb
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-01-28 10:14:21 +0100
committerRémy Coutable <remy@rymai.me>2016-01-28 11:26:28 +0100
commit869b4d7c6ad5c025f310eeecce7293bf5bbc4926 (patch)
tree9c84e2ae38288036632952c66a32af0224db999a /lib/api/commit_statuses.rb
parente6f3fe5d3b16809634dd655b3d265c683b538b12 (diff)
downloadgitlab-ce-869b4d7c6ad5c025f310eeecce7293bf5bbc4926.tar.gz
Only create the defaults ApplicationSetting when DB is fully migrated
Return a fake application settings OpenStruct when this is not the case. Also, use ActiveRecord::Base.connection_pool.active_connection? instead of ActiveRecord::Base.connection.active? to avoid driver exception.
Diffstat (limited to 'lib/api/commit_statuses.rb')
0 files changed, 0 insertions, 0 deletions