(bug 18487) Another fix for r48379: move up getMemcKey() as well
This commit is contained in:
parent
d1bea3f49a
commit
a25b78c785
1 changed files with 5 additions and 0 deletions
|
|
@ -599,4 +599,9 @@ abstract class FileRepo {
|
|||
function getMasterDB() {
|
||||
return wfGetDB( DB_MASTER );
|
||||
}
|
||||
|
||||
function getMemcKey( $key ) {
|
||||
return wfWikiID( $this->getSlaveDB() ) . ":{$key}";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue