(Bug 42461) Remove call to "new Database()"
authorPlatonides <platonides@gmail.com>
Sat, 26 Jan 2013 15:38:29 +0000 (16:38 +0100)
committerTim Starling <tstarling@wikimedia.org>
Mon, 18 Mar 2013 02:49:44 +0000 (13:49 +1100)
commit276319122142a502a275343b9eb2481eaf916b92
treebeef1cea12463ea0dce175a7208d38a7ed009adb
parent8f62c7320323216cade8b54256761adaf270f91d
(Bug 42461) Remove call to "new Database()"

 * Refactored LoadBalancer::reportConnectionError()
 * Removed PHP4-style reference from DatabaseError constructors
 * Allowed to not pass a database to the DBError family of exceptions.

Change-Id: If9570b45ea7285de2b8b2391e704bc01f76be48a
includes/db/DatabaseError.php
includes/db/LoadBalancer.php