Merge "Check for valid user info before calling Linker::userLink() in Linker::revUser...
[lhc/web/wiklou.git] / includes / MediaWikiServices.php
index 9dbfc1b..a37e32e 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+
 namespace MediaWiki;
 
 use ActorMigration;
@@ -226,6 +227,7 @@ class MediaWikiServices extends ServiceContainer {
        }
 
        /** @noinspection PhpDocSignatureInspection */
+
        /**
         * Salvages the state of any salvageable service instances in $other.
         *
@@ -569,6 +571,14 @@ class MediaWikiServices extends ServiceContainer {
                return $this->getService( 'EventRelayerGroup' );
        }
 
+       /**
+        * @since 1.34
+        * @return \ExternalStoreAccess
+        */
+       public function getExternalStoreAccess() {
+               return $this->getService( 'ExternalStoreAccess' );
+       }
+
        /**
         * @since 1.31
         * @return \ExternalStoreFactory