Was throwing Strict Standards: Declaration of OrphanStats::getDB()
should be compatible with that of Maintenance::getDB()
in maintenance/storage/orphanStats.php on line 25
Change-Id: I7451ada12a8c45aa37883b4b3803fbf505eec15b
$this->mDescription = "how some statistics on the blob_orphans table, created with trackBlobs.php";
}
- protected function getDB( $cluster ) {
+ protected function &getDB( $cluster, $groups = array(), $wiki = false ) {
$lb = wfGetLBFactory()->getExternalLB( $cluster );
return $lb->getConnection( DB_SLAVE );
}