Stop using the unholy trinity in DatabaseError
authorChad Horohoe <chadh@wikimedia.org>
Thu, 2 Jan 2014 18:28:02 +0000 (10:28 -0800)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 2 Jan 2014 22:15:34 +0000 (23:15 +0100)
commit03acc37723f0aee180fff3fe21fb71e1fc2c1462
tree374f1ac7701ef6b6c2d45f65027eca362680a2a7
parent331bb31f477d1d40f51991cdaccf07a35dc2502b
Stop using the unholy trinity in DatabaseError

RequestContext::getMain() shifts the blame, but at least
it's one less place in core.

Change-Id: I36ffad0ff2703c3326690eef2c07ef66aa532210
includes/db/DatabaseError.php