aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cache/driver/memcached.php
diff options
context:
space:
mode:
authorabyssmedia <30393121+abyssmedia@users.noreply.github.com>2017-07-24 00:04:43 +0400
committerMarc Alexander <admin@m-a-styles.de>2017-12-31 16:23:45 +0100
commit949f07e8ba81f6d711b7f7fa6024a19da71dc249 (patch)
tree3bccbc3a502e1ff1c15cc7a9d99a98f5777b66c0 /phpBB/phpbb/cache/driver/memcached.php
parent93621aa1844ab48d9bae068d9872d2c49ae86de4 (diff)
downloadforums-949f07e8ba81f6d711b7f7fa6024a19da71dc249.tar
forums-949f07e8ba81f6d711b7f7fa6024a19da71dc249.tar.gz
forums-949f07e8ba81f6d711b7f7fa6024a19da71dc249.tar.bz2
forums-949f07e8ba81f6d711b7f7fa6024a19da71dc249.tar.xz
forums-949f07e8ba81f6d711b7f7fa6024a19da71dc249.zip
[ticket/15303] Correctly refer to $memcached and not $memcache
PHPBB3-15303
Diffstat (limited to 'phpBB/phpbb/cache/driver/memcached.php')
-rw-r--r--phpBB/phpbb/cache/driver/memcached.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/cache/driver/memcached.php b/phpBB/phpbb/cache/driver/memcached.php
index a7da22d7e8..808e15afe8 100644
--- a/phpBB/phpbb/cache/driver/memcached.php
+++ b/phpBB/phpbb/cache/driver/memcached.php
@@ -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]));
}
}