Remove unused key in WANObjectCache::newEmpty()
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 8 Jun 2017 14:27:14 +0000 (07:27 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 8 Jun 2017 14:27:14 +0000 (07:27 -0700)
Change-Id: I5d11736b95fbba1debcf80f80cbdb4753caf15f7

includes/libs/objectcache/WANObjectCache.php

index 423d43e..6fbe898 100644 (file)
@@ -202,8 +202,7 @@ class WANObjectCache implements IExpiringStore, LoggerAwareInterface {
        public static function newEmpty() {
                return new self( [
                        'cache'   => new EmptyBagOStuff(),
-                       'pool'    => 'empty',
-                       'relayer' => new EventRelayerNull( [] )
+                       'pool'    => 'empty'
                ] );
        }