Fix default $oldOpts from 09cbebb224
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 8 Oct 2015 03:26:38 +0000 (20:26 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 8 Oct 2015 03:26:38 +0000 (20:26 -0700)
commit5aee45ee9e8957cdb68fc895ef3ae0387642b895
tree54385b8a8622db62e64a20722dc1d685ff69b44e
parent09cbebb22439bf4223e87ceb3e42169dc85fd311
Fix default $oldOpts from 09cbebb224

This fixes the default $oldOpts value for the case when
$opts is given check keys and no $oldOpts value is passed
in. In that case, the getWithSetCallback() method
variable $opts would be null instead of array().

Change-Id: I825062533478b37766511aae1d06dd4b81f8dba1
includes/libs/objectcache/WANObjectCache.php