Merge "FauxRequest: Avoid header leak"
[lhc/web/wiklou.git] / includes / utils / UIDGenerator.php
index 2d7d932..04c8e19 100644 (file)
@@ -283,7 +283,7 @@ class UIDGenerator {
                $cache = null;
                if ( ( $flags & self::QUICK_VOLATILE ) && PHP_SAPI !== 'cli' ) {
                        try {
-                               $cache = ObjectCache::newAccelerator( array() );
+                               $cache = ObjectCache::newAccelerator();
                        } catch ( Exception $e ) {
                                // not supported
                        }