dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1785f7b
)
objectcache: avoid using deprecated phpredis::delete() alias
author
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 1 Aug 2019 20:16:39 +0000
(16:16 -0400)
committer
Reedy
<reedy@wikimedia.org>
Mon, 2 Dec 2019 23:28:08 +0000
(23:28 +0000)
Bug: T227461
Change-Id: I3ca8bd9160eefff6590228082f030a32d0edb511
(cherry picked from commit
f445700ccc6f7f48158ae27d2cd13004675fd431
)
includes/libs/objectcache/RedisBagOStuff.php
patch
|
blob
|
history
diff --git
a/includes/libs/objectcache/RedisBagOStuff.php
b/includes/libs/objectcache/RedisBagOStuff.php
index
f720010
..
0276ed2
100644
(file)
--- a/
includes/libs/objectcache/RedisBagOStuff.php
+++ b/
includes/libs/objectcache/RedisBagOStuff.php
@@
-21,8
+21,9
@@
*/
/**
- * Redis-based caching module for redis server >= 2.6.12
+ * Redis-based caching module for redis server >= 2.6.12
and phpredis >= 2.2.4
*
+ * @see https://github.com/phpredis/phpredis/blob/d310ed7c8/Changelog.md
* @note Avoid use of Redis::MULTI transactions for twemproxy support
*
* @ingroup Cache
@@
-135,7
+136,7
@@
class RedisBagOStuff extends BagOStuff {
return false;
}
try {
- $conn->del
ete
( $key );
+ $conn->del( $key );
// Return true even if the key didn't exist
$result = true;
} catch ( RedisException $e ) {