* (bug 14709) Fix login success message formatting when using cookie check
* (bug 14710) Remove "donate" link from default sidebar
* (bug 14745) Image moving works on sites that transform thumbnails via 404
+* (bug 14159) Use of MEMCACHE_COMPRESSED constant no longer causes E_NOTICE
+ on PHP installs with the Memcache module installed.
=== API changes in 1.13 ===
/**
* Flag: indicates data is compressed
*/
- const COMPRESSED = 2;
+ const MCOMPRESSED = 2;
// }}}
return false;
}
- if ($this->_have_zlib && $flags & memcached::COMPRESSED)
+ if ($this->_have_zlib && $flags & memcached::MCOMPRESSED)
$ret[$rkey] = gzuncompress($ret[$rkey]);
$ret[$rkey] = rtrim($ret[$rkey]);
$this->_debugprint(sprintf("client: compressing data; was %d bytes is now %d bytes\n", $len, $c_len));
$val = $c_val;
$len = $c_len;
- $flags |= memcached::COMPRESSED;
+ $flags |= memcached::MCOMPRESSED;
}
}
if (!$this->_safe_fwrite($sock, "$cmd $key $flags $exp $len\r\n$val\r\n"))