mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15303] Correctly refer to $memcached and not $memcache
PHPBB3-15303
This commit is contained in:
parent
93621aa184
commit
949f07e8ba
1 changed files with 1 additions and 1 deletions
2
phpBB/phpbb/cache/driver/memcached.php
vendored
2
phpBB/phpbb/cache/driver/memcached.php
vendored
|
@ -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]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue