* (bug 30131) XCache with variable caching disabled no longer used for variable cachi...
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 31 Jul 2011 01:52:38 +0000 (01:52 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 31 Jul 2011 01:52:38 +0000 (01:52 +0000)
commit53ab456ebf4bf4fd352dceab61122e3e9c5742b8
tree6962f1676e7b14ecc9402ce6aa48e2e5e852c1d5
parent11e642cab53b6de80f67b503a8cf7f8e56e48ba2
* (bug 30131) XCache with variable caching disabled no longer used for variable caching (CACHE_ACCEL)

Patch from John Du Hart: https://bugzilla.wikimedia.org/attachment.cgi?id=8849&action=diff

If XCache is present, but the xcache.var_size setting is off, we'll now consider it as xcache being disabled for CACHE_ACCEL purposes. It won't trigger view of the accelerator option in the installer, and at runtime if using CACHE_ACCEL and no other modules are available, it'll throw an error so you know that it doesn't work!
RELEASE-NOTES-1.18
includes/installer/Installer.php
includes/objectcache/ObjectCache.php