Make clear that reportConnectionError() stops the code flow.
authorPlatonides <platonides@gmail.com>
Mon, 26 Nov 2012 21:41:52 +0000 (22:41 +0100)
committerPlatonides <platonides@gmail.com>
Mon, 26 Nov 2012 21:41:52 +0000 (22:41 +0100)
commit4250770aeeac9d0677c6901dd81d3c1f90375251
tree520f0e6aa4333983a84c6a552a892d736b0216b2
parent0473c33ecb20c4829dfabcadef0a988c1c16e3fb
Make clear that reportConnectionError() stops the code flow.

Use it as if 'returning' a value for getConnection().
It doesn't make sense to sometimes add a return false and
sometimes not. But it was confusing that it looked like
wfProfileOut( __METHOD__ ); could be called twice.

Change-Id: I09638a134fcc925410389660f85239e8aa16483e
includes/db/LoadBalancer.php