Use wikimedia/object-factory 1.0.0
[lhc/web/wiklou.git] / includes / session / SessionManager.php
index 40a568f..603985f 100644 (file)
@@ -32,6 +32,7 @@ use Config;
 use FauxRequest;
 use User;
 use WebRequest;
+use Wikimedia\ObjectFactory;
 
 /**
  * This serves as the entry point to the MediaWiki session handling system.
@@ -429,7 +430,7 @@ final class SessionManager implements SessionManagerInterface {
                if ( $this->sessionProviders === null ) {
                        $this->sessionProviders = [];
                        foreach ( $this->config->get( 'SessionProviders' ) as $spec ) {
-                               $provider = \ObjectFactory::getObjectFromSpec( $spec );
+                               $provider = ObjectFactory::getObjectFromSpec( $spec );
                                $provider->setLogger( $this->logger );
                                $provider->setConfig( $this->config );
                                $provider->setManager( $this );