X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FDatabaseInstaller.php;h=331d1a1bd57534ac1622337d881904b1b53a1aa1;hb=c584722cc2e3d33edae58d46c2149063b3fc6d72;hp=2b84144a3fc859d5d4af63981d31abf5690c3121;hpb=9e8f157ed258060e9762fbaa5195f4c8417bf536;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/DatabaseInstaller.php b/includes/installer/DatabaseInstaller.php index 2b84144a3f..030553599f 100644 --- a/includes/installer/DatabaseInstaller.php +++ b/includes/installer/DatabaseInstaller.php @@ -20,6 +20,7 @@ * @file * @ingroup Deployment */ +use Wikimedia\Rdbms\LBFactorySingle; /** * Base class for DBMS-specific installation helper classes. @@ -41,7 +42,7 @@ abstract class DatabaseInstaller { /** * The database connection. * - * @var DatabaseBase + * @var Database */ public $db = null; @@ -336,7 +337,6 @@ abstract class DatabaseInstaller { $services->redefineService( 'DBLoadBalancerFactory', function() use ( $connection ) { return LBFactorySingle::newFromConnection( $connection ); } ); - } /**