Update CacheListPage.class.php
authorSascha Greuel <SoftCreatR@users.noreply.github.com>
Tue, 3 Oct 2017 05:34:00 +0000 (07:34 +0200)
committerGitHub <noreply@github.com>
Tue, 3 Oct 2017 05:34:00 +0000 (07:34 +0200)
wcfsetup/install/files/lib/acp/page/CacheListPage.class.php

index ece6788bd057d9d6a6dc8aecdcc70e6930e267aa..1223ad6919dbb5c0b340465d65da28a641c4b24c 100755 (executable)
@@ -78,13 +78,13 @@ class CacheListPage extends AbstractPage {
                        
                        case 'wcf\system\cache\source\MemcachedCacheSource':
                                // set version
-                               $this->cacheData['version'] = WCF_VERSION;
+                               $this->cacheData['version'] = CacheHandler::getInstance()->getCacheSource()->getMemcachedVersion();
                        break;
                        
                        case 'wcf\system\cache\source\RedisCacheSource':
                                // set version
                                /** @noinspection PhpUndefinedMethodInspection */
-                               $this->cacheData['version'] = 'Redis '.CacheHandler::getInstance()->getCacheSource()->getRedisVersion();
+                               $this->cacheData['version'] = CacheHandler::getInstance()->getCacheSource()->getRedisVersion();
                        break;
                }