1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

Merge pull request #4886 from marc1706/ticket/15303

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

* github.com:phpbb/phpbb:
  [ticket/15303] Correctly refer to $memcached and not $memcache
This commit is contained in:
Tristan Darricau
2017-08-06 11:32:56 +02:00

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