Merge "Set migration stages in RevisionStoreDbTestBase"
[lhc/web/wiklou.git] / includes / GlobalFunctions.php
index 433cd2b..d215e9f 100644 (file)
@@ -30,7 +30,6 @@ use MediaWiki\Session\SessionManager;
 use MediaWiki\MediaWikiServices;
 use MediaWiki\Shell\Shell;
 use Wikimedia\ScopedCallback;
-use Wikimedia\StaticArrayWriter;
 use Wikimedia\Rdbms\DBReplicationWaitError;
 use Wikimedia\WrappedString;
 
@@ -2675,17 +2674,6 @@ function wfGetPrecompiledData( $name ) {
        return false;
 }
 
-/**
- * @deprecated since 1.32 use StaticArrayWriter instead
- * @since 1.32
- * @param string[] $data Array with string keys/values to export
- * @param string $header
- * @return string PHP code
- */
-function wfMakeStaticArrayFile( array $data, $header = 'Automatically generated' ) {
-       return ( new StaticArrayWriter() )->create( $data, $header );
-}
-
 /**
  * Make a cache key for the local wiki.
  *