Make wfForeignMemcKey consistent with wfMemcKey
The wfMemcKey function converts any spaces in the key into _, while the wfForeignMemcKey does not. As such they would not return the same key in certain corner cases. Change-Id: I520dacdce953414dee5907324c2c98db858bcd42
This commit is contained in:
parent
f471169afa
commit
213fe05330
1 changed files with 1 additions and 1 deletions
|
|
@ -3384,7 +3384,7 @@ function wfForeignMemcKey( $db, $prefix /*, ... */ ) {
|
|||
} else {
|
||||
$key = $db . ':' . implode( ':', $args );
|
||||
}
|
||||
return $key;
|
||||
return str_replace( ' ', '_', $key );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue