<?php
/**
+ * Functions to get cache objects
+ *
* @file
* @ingroup Cache
*/
/**
* Get a cache object.
- * @param int $inputType cache type, one the the CACHE_* constants.
+ * @param $inputType Integer: cache type, one the the CACHE_* constants.
*/
function &wfGetCache( $inputType ) {
global $wgCaches, $wgMemCachedServers, $wgMemCachedDebug, $wgMemCachedPersistent;
$wgCaches[CACHE_ACCEL] = new APCBagOStuff;
} elseif( function_exists( 'xcache_get' ) ) {
$wgCaches[CACHE_ACCEL] = new XCacheBagOStuff();
- } elseif ( function_exists( 'mmcache_get' ) ) {
- $wgCaches[CACHE_ACCEL] = new TurckBagOStuff;
+ } elseif( function_exists( 'wincache_ucache_get' ) ) {
+ $wgCaches[CACHE_ACCEL] = new WinCacheBagOStuff();
} else {
$wgCaches[CACHE_ACCEL] = false;
}