* `wcf\system\event\listener\PreParserAtUserListener` removed.
* `wcf\action\AJAXProxyAction::getData()` removed.
* Version system removed.
+* `wcf\system\cache\source\RedisCacheSource` added.
// set version
$this->cacheData['version'] = WCF_VERSION;
break;
+
+ case 'wcf\system\cache\source\RedisCacheSource':
+ // set version
+ $this->cacheData['version'] = 'Redis '.CacheHandler::getInstance()->getCacheSource()->getRedisVersion();
+ break;
}
$this->readCacheFiles('language', FileUtil::unifyDirSeparator(WCF_DIR.'language'));
return $flush.':'.$cacheName;
}
+
+ /**
+ * Returns the Redis server version
+ *
+ * @return string
+ */
+ public function getRedisVersion() {
+ $info = $this->redis->info('server');
+
+ return $info['redis_version'];
+ }
}