From b92bc0082c1e9b90795daf7cf15a08a116bacbca Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 18 Aug 2012 16:00:13 +0200 Subject: [PATCH] Make OrphanStats::getDB()'s signature compatible with parent. 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 --- maintenance/storage/orphanStats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/storage/orphanStats.php b/maintenance/storage/orphanStats.php index 8f0384ddd2..f3b521f6c3 100644 --- a/maintenance/storage/orphanStats.php +++ b/maintenance/storage/orphanStats.php @@ -28,7 +28,7 @@ class OrphanStats extends Maintenance { $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 ); } -- 2.20.1