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:
Erik Bernhardson 2013-07-02 16:38:04 -07:00
parent f471169afa
commit 213fe05330

View file

@ -3384,7 +3384,7 @@ function wfForeignMemcKey( $db, $prefix /*, ... */ ) {
} else {
$key = $db . ':' . implode( ':', $args );
}
return $key;
return str_replace( ' ', '_', $key );
}
/**