Refactor check for local databases (closes #10539) [parcelbrat]
Refactor check for local databases (closes #10539) [parcelbrat]

git-svn-id: afc9fed30c1a09d8801d1e4fbe6e01c29c67d11f@8535 5ecf4fe2-1ee6-0310-87b1-e25e094e27de

starknx/rails,kirs/rails-1,fabianoleittes/rails,deraru/rails,shioyama/rails,Erol/rails,illacceptanything/illacceptanything,MichaelSp/rails,voray/rails,alecspopa/rails,illacceptanything/illacceptanything,flanger001/rails,mechanicles/rails,88rabbit/newRails,sealocal/rails,untidy-hair/rails,marklocklear/rails,mtsmfm/rails,riseshia/railsguides.kr,brchristian/rails,pschambacher/rails,ttanimichi/rails,rails/rails,Spin42/rails,untidy-hair/rails,deraru/rails,yahonda/rails,alecspopa/rails,utilum/rails,bogdanvlviv/rails,lucasmazza/rails,kmcphillips/rails,samphilipd/rails,printercu/rails,EmmaB/rails-1,yawboakye/rails,notapatch/rails,coreyward/rails,rails/rails,yasslab/railsguides.jp,flanger001/rails,prathamesh-sonpatki/rails,lcreid/rails,xlymian/rails,pschambacher/rails,tjschuck/rails,palkan/rails,mechanicles/rails,brchristian/rails,gavingmiller/rails,yawboakye/rails,samphilipd/rails,BlakeWilliams/rails,kenta-s/rails,mathieujobin/reduced-rails-for-travis,ngpestelos/rails,Edouard-chin/rails,illacceptanything/illacceptanything,Edouard-chin/rails,eileencodes/rails,mtsmfm/railstest,BlakeWilliams/rails,utilum/rails,kamipo/rails,kddeisz/rails,utilum/rails,kirs/rails-1,arunagw/rails,koic/rails,Stellenticket/rails,Sen-Zhang/rails,vipulnsward/rails,prathamesh-sonpatki/rails,jeremy/rails,gfvcastro/rails,kachick/rails,baerjam/rails,felipecvo/rails,mtsmfm/rails,pvalena/rails,schuetzm/rails,Stellenticket/rails,travisofthenorth/rails,elfassy/rails,eileencodes/rails,maicher/rails,repinel/rails,mechanicles/rails,iainbeeston/rails,kmcphillips/rails,kaspth/rails,Erol/rails,untidy-hair/rails,betesh/rails,Envek/rails,Vasfed/rails,lcreid/rails,vipulnsward/rails,mtsmfm/railstest,aditya-kapoor/rails,BlakeWilliams/rails,sergey-alekseev/rails,esparta/rails,fabianoleittes/rails,gavingmiller/rails,notapatch/rails,matrinox/rails,gfvcastro/rails,prathamesh-sonpatki/rails,shioyama/rails,esparta/rails,betesh/rails,tijwelch/rails,rbhitchcock/rails,yasslab/railsguides.jp,tgxworld/rails,deraru/rails,yalab/rails,hanystudy/rails,Edouard-chin/rails,pvalena/rails,Stellenticket/rails,riseshia/railsguides.kr,assain/rails,palkan/rails,rafaelfranca/omg-rails,gcourtemanche/rails,flanger001/rails,pschambacher/rails,assain/rails,jeremy/rails,travisofthenorth/rails,mtsmfm/railstest,vipulnsward/rails,marklocklear/rails,bogdanvlviv/rails,repinel/rails,matrinox/rails,iainbeeston/rails,joonyou/rails,rails/rails,bradleypriest/rails,yasslab/railsguides.jp,travisofthenorth/rails,illacceptanything/illacceptanything,rbhitchcock/rails,tgxworld/rails,joonyou/rails,esparta/rails,kaspth/rails,kenta-s/rails,bolek/rails,illacceptanything/illacceptanything,vassilevsky/rails,arjes/rails,yasslab/railsguides.jp,vipulnsward/rails,arjes/rails,gcourtemanche/rails,arunagw/rails,georgeclaghorn/rails,gauravtiwari/rails,vassilevsky/rails,sealocal/rails,illacceptanything/illacceptanything,kddeisz/rails,aditya-kapoor/rails,repinel/rails,utilum/rails,assain/rails,yalab/rails,odedniv/rails,tijwelch/rails,notapatch/rails,kirs/rails-1,lucasmazza/rails,voray/rails,yalab/rails,maicher/rails,kmayer/rails,samphilipd/rails,Vasfed/rails,ngpestelos/rails,elfassy/rails,untidy-hair/rails,ledestin/rails,yhirano55/rails,MichaelSp/rails,joonyou/rails,repinel/rails,kachick/rails,illacceptanything/illacceptanything,kmcphillips/rails,yawboakye/rails,jeremy/rails,riseshia/railsguides.kr,Spin42/rails,xlymian/rails,baerjam/rails,georgeclaghorn/rails,starknx/rails,coreyward/rails,bolek/rails,EmmaB/rails-1,tgxworld/rails,tjschuck/rails,Erol/rails,kddeisz/rails,alecspopa/rails,aditya-kapoor/rails,illacceptanything/illacceptanything,rafaelfranca/omg-rails,bolek/rails,eileencodes/rails,tijwelch/rails,amoody2108/TechForJustice,richseviora/rails,palkan/rails,shioyama/rails,prathamesh-sonpatki/rails,brchristian/rails,mathieujobin/reduced-rails-for-travis,hanystudy/rails,flanger001/rails,printercu/rails,yahonda/rails,sealocal/rails,matrinox/rails,gavingmiller/rails,voray/rails,gcourtemanche/rails,schuetzm/rails,coreyward/rails,tjschuck/rails,Vasfed/rails,stefanmb/rails,baerjam/rails,fabianoleittes/rails,richseviora/rails,marklocklear/rails,88rabbit/newRails,kmcphillips/rails,kenta-s/rails,yhirano55/rails,gfvcastro/rails,MSP-Greg/rails,BlakeWilliams/rails,MSP-Greg/rails,rbhitchcock/rails,palkan/rails,bradleypriest/rails,kddeisz/rails,Sen-Zhang/rails,sergey-alekseev/rails,sergey-alekseev/rails,vassilevsky/rails,Sen-Zhang/rails,richseviora/rails,tgxworld/rails,EmmaB/rails-1,illacceptanything/illacceptanything,Edouard-chin/rails,kamipo/rails,ttanimichi/rails,hanystudy/rails,odedniv/rails,illacceptanything/illacceptanything,yahonda/rails,ngpestelos/rails,stefanmb/rails,pvalena/rails,mijoharas/rails,georgeclaghorn/rails,rossta/rails,stefanmb/rails,koic/rails,kaspth/rails,xlymian/rails,kachick/rails,gfvcastro/rails,travisofthenorth/rails,mtsmfm/rails,rossta/rails,gauravtiwari/rails,Vasfed/rails,Spin42/rails,yahonda/rails,mechanicles/rails,ledestin/rails,mathieujobin/reduced-rails-for-travis,betesh/rails,starknx/rails,notapatch/rails,schuetzm/rails,88rabbit/newRails,illacceptanything/illacceptanything,felipecvo/rails,arunagw/rails,tjschuck/rails,ledestin/rails,mohitnatoo/rails,illacceptanything/illacceptanything,koic/rails,betesh/rails,Stellenticket/rails,illacceptanything/illacceptanything,MSP-Greg/rails,mohitnatoo/rails,mohitnatoo/rails,mohitnatoo/rails,bogdanvlviv/rails,shioyama/rails,aditya-kapoor/rails,odedniv/rails,MichaelSp/rails,kmayer/rails,pvalena/rails,elfassy/rails,gauravtiwari/rails,illacceptanything/illacceptanything,baerjam/rails,georgeclaghorn/rails,bradleypriest/rails,maicher/rails,schuetzm/rails,arunagw/rails,MSP-Greg/rails,lcreid/rails,Envek/rails,mijoharas/rails,riseshia/railsguides.kr,assain/rails,eileencodes/rails,printercu/rails,mijoharas/rails,arjes/rails,deraru/rails,rossta/rails,iainbeeston/rails,amoody2108/TechForJustice,amoody2108/TechForJustice,Envek/rails,illacceptanything/illacceptanything,jeremy/rails,yawboakye/rails,ttanimichi/rails,yhirano55/rails,rails/rails,rafaelfranca/omg-rails,joonyou/rails,kamipo/rails,printercu/rails,bogdanvlviv/rails,felipecvo/rails,yhirano55/rails,lucasmazza/rails,yalab/rails,esparta/rails,kmayer/rails,Erol/rails,iainbeeston/rails,Envek/rails,fabianoleittes/rails,lcreid/rails