summaryrefslogtreecommitdiff
path: root/adodb-memcache.lib.inc.php
diff options
context:
space:
mode:
authorDamien Regad <dregad@mantisbt.org>2022-03-29 12:17:43 +0200
committerDamien Regad <dregad@mantisbt.org>2022-03-30 10:38:22 +0200
commit7deaef7e75a956feeb7288e98850066afa405b48 (patch)
tree94d644d87d86ec6222618b179f3a7af18121b759 /adodb-memcache.lib.inc.php
parent03d288daba769c73acb1cf3d7126b06083f48744 (diff)
downloadadodb-7deaef7e75a956feeb7288e98850066afa405b48.tar.gz
adodb-7deaef7e75a956feeb7288e98850066afa405b48.tar.bz2
adodb-7deaef7e75a956feeb7288e98850066afa405b48.zip
Remove references to 'key' option
This was introduced in f24142da4e2237e39c9a98d6de0b3665fcf95db9 (#676). It is part of a future improvement to the Memcache library, that should not have been merged into the 5.22 release [1]. [1]: https://github.com/ADOdb/ADOdb/pull/816#issuecomment-1076967876
Diffstat (limited to 'adodb-memcache.lib.inc.php')
-rw-r--r--adodb-memcache.lib.inc.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/adodb-memcache.lib.inc.php b/adodb-memcache.lib.inc.php
index 73b941d1..2ccb082f 100644
--- a/adodb-memcache.lib.inc.php
+++ b/adodb-memcache.lib.inc.php
@@ -84,7 +84,6 @@ class ADODB_Cache_MemCache
'host' => '',
'port' => 11211,
'weight' => 0,
- 'key' => ''
);
/**
@@ -194,8 +193,7 @@ class ADODB_Cache_MemCache
if ($this->isLibMemcached()) {
$connector['weight'] = $connector['weight'] ? (int)$connector['weight'] : 0;
} else {
- // Cannot use a key or weight in memcache, simply discard
- $connector['key'] = '';
+ // Cannot use weight in memcache, simply discard
$connector['weight'] = 0;
}