Revert "objectcache: detect default getWithSetCallback() set options"
[lhc/web/wiklou.git] / includes / ServiceWiring.php
index beefb33..c2197a6 100644 (file)
@@ -52,10 +52,7 @@ return [
                );
                $class = MWLBFactory::getLBFactoryClass( $lbConf );
 
-               $instance = new $class( $lbConf );
-               MWLBFactory::setCacheUsageCallbacks( $instance, $services );
-
-               return $instance;
+               return new $class( $lbConf );
        },
 
        'DBLoadBalancer' => function( MediaWikiServices $services ) {