1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 06:20:46 +02:00

[ticket/15303] Correctly refer to $memcached and not $memcache

PHPBB3-15303
This commit is contained in:
abyssmedia
2017-07-24 00:04:43 +04:00
committed by Marc Alexander
parent aa5a0f62c4
commit ef404d0f95

View File

@@ -68,7 +68,7 @@ class memcached extends \phpbb\cache\driver\memory
foreach (explode(',', PHPBB_ACM_MEMCACHE) as $u) foreach (explode(',', PHPBB_ACM_MEMCACHE) as $u)
{ {
preg_match('#(.*)/(\d+)#', $u, $parts); preg_match('#(.*)/(\d+)#', $u, $parts);
$this->memcache->addServer(trim($parts[1]), (int) trim($parts[2])); $this->memcached->addServer(trim($parts[1]), (int) trim($parts[2]));
} }
} }