Cannot make method visibility lower than super's.
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Sat, 18 Aug 2012 13:43:12 +0000 (15:43 +0200)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Sat, 18 Aug 2012 13:43:12 +0000 (15:43 +0200)
Change-Id: I8ed3f3bad954dd03bd80d23954e31ee5429c04fe

maintenance/storage/orphanStats.php

index f30f07e..8f0384d 100644 (file)
@@ -28,7 +28,7 @@ class OrphanStats extends Maintenance {
                $this->mDescription = "how some statistics on the blob_orphans table, created with trackBlobs.php";
        }
 
-       private function getDB( $cluster ) {
+       protected function getDB( $cluster ) {
                $lb = wfGetLBFactory()->getExternalLB( $cluster );
                return $lb->getConnection( DB_SLAVE );
        }