[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 93621aa184
commit 949f07e8ba
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

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]));
} }
} }