1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-24 09:30:34 +01: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 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)
{
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]));
}
}