X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fsession%2FSessionManager.php;h=603985f50bb79ebe951d75cccd6b01aaa108a577;hb=d8ce984944939c2fd17f4676fc6f6ccf1a1222e2;hp=40a568ffa7b75cefa7863264956e648b49a415fc;hpb=2ffff73a46c29cdad1cbf59063f4dd75debd3b4c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/session/SessionManager.php b/includes/session/SessionManager.php index 40a568ffa7..603985f50b 100644 --- a/includes/session/SessionManager.php +++ b/includes/session/SessionManager.php @@ -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 );