dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Made delete() return True for NOT_FOUND memcached responses.
[lhc/web/wiklou.git]
/
includes
/
objectcache
/
MemcachedClient.php
diff --git
a/includes/objectcache/MemcachedClient.php
b/includes/objectcache/MemcachedClient.php
index
2815fee
..
1ddf3b9
100644
(file)
--- a/
includes/objectcache/MemcachedClient.php
+++ b/
includes/objectcache/MemcachedClient.php
@@
-338,9
+338,10
@@
class MWMemcached {
$this->_debugprint( sprintf( "MemCache: delete %s (%s)\n", $key, $res ) );
}
- if ( $res == "DELETED" ) {
+ if ( $res == "DELETED"
|| $res == "NOT_FOUND"
) {
return true;
}
+
return false;
}