Memcached does not like spaces in keys

This commit is contained in:
Niklas Laxström 2009-08-03 11:36:47 +00:00
parent 13a69ea262
commit 45130adc36

View file

@ -2835,6 +2835,7 @@ function wfFormatStackFrame($frame) {
function wfMemcKey( /*... */ ) {
$args = func_get_args();
$key = wfWikiID() . ':' . implode( ':', $args );
$key = str_replace( ' ', '_', $key );
return $key;
}