Page MenuHomePhabricator

No database class but LoadBalancer.php:741 has $conn = new Database
Closed, ResolvedPublic


We don't have a class called Database, but on line 741 of LoadBalancer we have:
$conn = new Database;

Admittedly, just to pass it to DBConnectionError constructor:
throw new DBConnectionError( $conn, $this->mLastError );

but it won't reach there since it will generate a fatal first.

Version: 1.21.x
Severity: normal



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:00 AM
bzimport added a project: Wikimedia-Rdbms.
bzimport set Reference to bz42461.

(In reply to comment #2)

Gerrit change #45941

Status Merged