Remove xcache support

This commit is contained in:
Zankaria
2024-03-07 14:23:48 +01:00
parent 8cebc7f80c
commit 0154e54f85
4 changed files with 3 additions and 15 deletions

View File

@@ -47,9 +47,6 @@ class Cache {
case 'apcu':
$data = apcu_fetch($key);
break;
case 'xcache':
$data = xcache_get($key);
break;
case 'php':
$data = isset(self::$cache[$key]) ? self::$cache[$key] : false;
break;
@@ -101,9 +98,6 @@ class Cache {
case 'apcu':
apcu_store($key, $value, $expires);
break;
case 'xcache':
xcache_set($key, $value, $expires);
break;
case 'fs':
$key = str_replace('/', '::', $key);
$key = str_replace("\0", '', $key);
@@ -139,9 +133,6 @@ class Cache {
case 'apcu':
apcu_delete($key);
break;
case 'xcache':
xcache_unset($key);
break;
case 'fs':
$key = str_replace('/', '::', $key);
$key = str_replace("\0", '', $key);

View File

@@ -121,7 +121,6 @@
*/
$config['cache']['enabled'] = 'php';
// $config['cache']['enabled'] = 'xcache';
// $config['cache']['enabled'] = 'apc';
// $config['cache']['enabled'] = 'memcached';
// $config['cache']['enabled'] = 'redis';