diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2009-02-22 13:37:51 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2009-02-22 13:37:51 +0100 |
commit | b9b85843572bf283f48285001e276ba7e61b63f6 (patch) | |
tree | 4c6f4571552ada9ccfb4030481dcf77308f8b254 /includes/memcached-client.php | |
parent | d9a20acc4e789cca747ad360d87ee3f3e7aa58c1 (diff) |
updated to MediaWiki 1.14.0
Diffstat (limited to 'includes/memcached-client.php')
-rw-r--r-- | includes/memcached-client.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/memcached-client.php b/includes/memcached-client.php index 6bd18387..79745309 100644 --- a/includes/memcached-client.php +++ b/includes/memcached-client.php @@ -454,7 +454,7 @@ class memcached if (!$this->_active) return false; - $this->stats['get_multi']++; + @$this->stats['get_multi']++; $sock_keys = array(); foreach ($keys as $key) @@ -800,8 +800,8 @@ class memcached if (is_resource($sock)) { $this->_flush_read_buffer($sock); return $sock; - } - $hv += $this->_hashfunc($tries . $realkey); + } + $hv = $this->_hashfunc( $hv . $realkey ); } return false; |